Mail Archives: djgpp/1998/02/13/19:21:46
I was just wondering if someone could tell me what a thread-safe program
includes, i.e. how one would make a program/library thread safe. I know
this isn't really a DJGPP specific question, but isn't it an important task
when porting (and well, there is multithreading libs for DJGPP too).
Ofcourse not using any global or static data would make a program thread
safe (or?), but what if you are writing a library that NEEDS static or
global data!? Can threads be disabled during the execution of a specific
function in all multi-threading systems?
Very greatful for a reply to this!
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
******************************************************
* A brief description of DJGPP: *
* NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY! *
******************************************************
- Raw text -