TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Herbert Rosenau
from: Eddy Thilleman
date: 1999-08-30 09:48:17
subject: Terminating threads clean

Hi Herbert,

28 Aug 99, Herbert Rosenau of 2:2476/493 wrote to Eddy Thilleman:

HR> No. DosEnterCritSec does not more than blocking all other
HR> threads of the same process. Other Threads of other
HR> processes can and will become CPU after timslice of the
HR> running thread is over.

Thanks.

HR> Most (but not all) OS/2 APIs calls DosExitCritSec() under
HR> cover. So you should not use any API (system, runtime,
HR> library) unless you know that this function would never call
HR> a system API.

I was not planning to call DosEnterCritSec() or DosExitCritSec().

  Cheers   -=Eddy=-        email: eddy.thilleman@net.hcc.nl

... Excuse the spelling, I have been snorting to much code.
--- MBM v4.14
102
* Origin: regeldrukker: Een vreemde stoelgang. (2:500/143.7)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.