Solution to Task 6.1.7 Note the order in which the locks are taken. Updated for mbed os 5.4

Fork of Task617Solution-mbedos54 by Stage-1 Students SoCEM

History

Updated for mbed os 5.4 default tip

2017-04-03, by noutram [Mon, 03 Apr 2017 11:38:04 +0000] rev 6

Updated for mbed os 5.4


Solution to 6.1.7 - by changing the sequence in which the locks are taken.

2016-03-09, by noutram [Wed, 09 Mar 2016 17:55:53 +0000] rev 5

Solution to 6.1.7 - by changing the sequence in which the locks are taken.


Deadlock demonstration

2016-03-09, by noutram [Wed, 09 Mar 2016 17:18:55 +0000] rev 4

Deadlock demonstration


Now echos state of the buffer as data are added and removed.

2016-03-09, by noutram [Wed, 09 Mar 2016 10:12:51 +0000] rev 3

Now echos state of the buffer as data are added and removed.


text to morse code using a worker thread, a buffer and semaphores

2016-03-08, by noutram [Tue, 08 Mar 2016 20:51:13 +0000] rev 2

text to morse code using a worker thread, a buffer and semaphores


Solution for 6.1.5

2016-03-08, by noutram [Tue, 08 Mar 2016 12:26:28 +0000] rev 1

Solution for 6.1.5


Task showing thread corruption

2016-03-08, by noutram [Tue, 08 Mar 2016 11:43:39 +0000] rev 0

Task showing thread corruption