Demonstration of a message queue + memory pool

Fork of Task632-mbedos54 by Stage-1 Students SoCEM

History

updated for mbed os 5.4 default tip

2017-04-03, by noutram [Mon, 03 Apr 2017 14:16:17 +0000] rev 11

updated for mbed os 5.4


Example of a memory pool + message queue

2016-03-22, by noutram [Tue, 22 Mar 2016 13:40:05 +0000] rev 10

Example of a memory pool + message queue


Task631 - simple message queue between an interrupt and a thread

2016-03-21, by noutram [Mon, 21 Mar 2016 13:50:11 +0000] rev 9

Task631 - simple message queue between an interrupt and a thread


Task 622 - mixing interrupts and threads

2016-03-14, by noutram [Mon, 14 Mar 2016 19:48:24 +0000] rev 8

Task 622 - mixing interrupts and threads


Added comments

2016-03-14, by noutram [Mon, 14 Mar 2016 16:32:56 +0000] rev 7

Added comments


Comparing a yielding wait and a spinning-wait

2016-03-14, by noutram [Mon, 14 Mar 2016 16:30:25 +0000] rev 6

Comparing a yielding wait and a spinning-wait


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