wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel) (03/18/91)
I have a small piece of code (yeah really small: less than 100 clock cycles) that will be run only a few times per hour (say 10 or 20). This code accessed a shared segment that must be locked. Due to the fast execution time of the critical section is it a bad behavior to use DosEnterCritSec() & DosExitCritSec() instead of locking the shared memory (I'm afraid locking will take much more time that the treatement itself). Any suggestions welcome. -- Christophe Wolfhugel (on irc: Zolf) | Email: wolf@grasp1.univ-lyon1.fr INSA Lyon - Departement Informatique | "Take care when driving, 90% of the" 69621 Villeurbanne Cedex, France | "births are accidents!"