View Full Version : DOS critical zone

01-30-2002, 11:41 AM
What I need is a way to write some code for simulate a semaphore to aisle some critical zone from entering again while processing in it. Any idea or link?

01-30-2002, 12:28 PM
An idea: define a global variable which serves as a semaphore. Then implement the P and V operations to manage semaphore handling.

By the way, are you concurrent programming under DOS?