Subject: CriticalSections in the new Tcl8.1b3 Threading stuff? - DN [1]


davygrvy@bigfoot.com (David Gravereaux) - 15 Apr 1999 - comp.lang.tcl

 I just started porting my Win32 threading classes to use the new Tcl
 threading primatives and just noticed something.  pthreads doesn't
 offer a criticalsection to hold the kenel from yielding until the
 criticalsection is released.

 Are there any techniques to emulate a criticalsection with pthreads?

 If so, can it be added to the Tcl threading primatives?

 * David Gravereaux *
 Tomahawk Software Group
 Mahalo Aloha from Maui, Hawai'i

Last modified
1999-09-27

(195.108.246.50)

Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated