[Tinymux] Question on Semaphore

T. Alexander Popiel popiel at wolfskeep.com
Wed Aug 24 13:23:03 EDT 2005


In message:  <6.2.0.14.2.20050824013319.02147440 at localhost>
             Mandor <mandor at cox.net> writes:
>I'm fairly knowledgable about MUSHCode, but have never had to use
>semaphore before, so am kind of clueless.  I want to do the following,
[snip of typical resource spending race condition]

This topic comes up frequently; the last iteration of it was in June 2005.
I suggest reading the 'Avoiding soft code exploits' thread at
http://www.tinymux.org/pipermail/tinymux/2005-June/thread.html#start

My particular solution to the problem is in
http://www.tinymux.org/pipermail/tinymux/2005-June/000357.html

Ian's comments on how easy it is to make mistakes with semaphores
are in
http://www.tinymux.org/pipermail/tinymux/2005-June/000360.html

The rest of the thread provides a bunch of (useful?) discussion on
the subject.

- Alex


More information about the Tinymux mailing list