From: Wojciech Galazka Newsgroups: comp.os.msdos.djgpp Subject: Pthreads and lwp packages, looking for response from their users. Date: Wed, 27 Aug 1997 16:25:46 +0200 Organization: University of Warsaw Lines: 35 Message-ID: <340438EA.303D@chem.uw.edu.pl> NNTP-Posting-Host: animal.chem.uw.edu.pl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit CC: wgalazka AT delorie DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Hi, I'm trying to figure out how pthreads and lwp (two independent threading packages) can be used to provide so to say "multitasking" within a program (== multithreading). I've looked at the sources, even compiled lwp example files and stopped at this point. I wonder if anyone knows of any more complex examples for these packages so that I could learn how they can be used. I've also played with a lwp-based enhanced library (sorry, can't recall its name at this moment) It provides semaphores, messages and the like but requires C++ to use them. What I'm really in search of is a package that while providing basic multithreading support (ie task switching) would also implement semaphores, messages and other interprocess synchronizations features. Speaking of fork() which I'm trying to "emulate" using multithreading support (thus instead of program multitasking we can switch to in-program procedure multitasking) I don't want to use RSXNTDJ that provides working fork() because I want my program to run under DOS and not require Windows. If you got in touch with any of the packages mentioned above, don't stay in silence but share your experience :) Thanks PS There's another "multitasking" package located in DJGPP v 1.0 directory tree called aetsk102.zip. Has anyone used this or can tell anything about it? -- Wojciech Galazka Computer Security Advisor