| | bug in semaphore code (was Re: Announce: NQCIPC update
|
|
Your semaphore acquire algorithm isn't too good. Here is your code: #define sem_acquire(s) until (s == 0); s = 1; If two tasks are waiting for the semaphore at the same time, it is quite likely that both will get it: // (s is currently nonzero) task (...) (25 years ago, 29-Oct-99, to lugnet.robotics)
|
|
| | Re: bug in semaphore code (was Re: Announce: NQCIPC update
|
|
(...) Robert, Cool stuff. I just added it here: (URL) (25 years ago, 30-Oct-99, to lugnet.robotics)
|
|
| | Re: bug in semaphore code (was Re: Announce: NQCIPC update
|
|
Todd, this is CoolBut: It does not appear to appear from NNTP. Is it your intention to have, um.. lugnet.robotics.rcx.nqc.code ?? I like the idea a lot of having a code repository... (25 years ago, 1-Nov-99, to lugnet.robotics)
|
|
| | strange sample code area in LUGNET (was Re: bug in semaphore code (was Re: Announce: NQCIPC update
|
|
What is (URL) why are there no links connecting the rest of (URL) to it? (...) (25 years ago, 1-Nov-99, to lugnet.robotics)
|