| | Announce: NQCIPC update
|
|
As some of you may know, about three weeks ago I released a package called NQCIPC that provides a basic API for semaphores and intertask messaging on NQC. Originally written for NQC 1.x, it's been updated for 2.x and I'd be interested in seeing what (...) (25 years ago, 29-Oct-99, to lugnet.robotics)
|
|
| | Re: Announce: NQCIPC update
|
|
Brian, this looks very useful; I'll try it out soon! NQCIPC made perfect sense to me, but I have had my Nerd Merit Badge for a long time. People who have never done anything with multitasking before will not recognize other related words like (...) (25 years ago, 29-Oct-99, to lugnet.robotics)
|
|
| | 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)
|