Page 1 of 1

Error in manual (4.2.2) on page 32

PostPosted: Tue Jul 14, 2015 2:32 am
by mattwhillock
Hi,

Browsing through the manual (4.2.2), as you do, I think I've spotted a mistake. On page 32 an example of semaphore use is given in figure 10. In the blurb that follows it it states
... The lower task begins running [2], and when it is ready to wait for the upper task it signals semaphore #1 [3] and then waits semaphore #2 [4], and is blocked [5] since it was initialized to 0.
In the pseudocode for that example (Listing 9) it clearly shows
Code: Select all
initialize binary semaphore #2 to 1
So by the time the lower task waits for semaphore #2 it is already singled and can get it straight away, surely? Or have I mis-understood something?

Cheers,
Matt

Re: Error in manual (4.2.2) on page 32

PostPosted: Tue Jul 14, 2015 9:50 am
by aek
You are correct!

I will fix that in the manual ... not sure when the manual will be re-released.