From: acottrel AT magna DOT com DOT au (Andrew Cottrell) Newsgroups: comp.os.msdos.djgpp Subject: Re: Threads and DJGPP Date: Mon, 15 Jun 1998 10:59:25 GMT Organization: Magna Data - Internet Solutions Provider Lines: 29 Message-ID: <3584fdd6.1036804@news.magna.com.au> References: <%5_g1.1380$5d1 DOT 440136 AT news DOT rdc1 DOT on DOT wave DOT home DOT com> Reply-To: acottrel AT spam DOT magna DOT com DOT au NNTP-Posting-Host: saccess-08-047.magna.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Pthreads is a round robin threading library. Try LWMP or one of it's derivaties for a pre-emptive threading library, this is available in the V2TK directory. If you are using Allegro then check out the following URL for the LWMP add on for Allegro. http://www.geocities.com/siliconvalley/pines/7817 Andrew On Mon, 15 Jun 1998 00:42:35 GMT, "Dennis Forbes" wrote: >Hello and good day. > >Recently I've acquired and setup DJGPP for use creating some amateur control >systems to interface with a micrcontroller. I'm very impressed by the >product overall, but one limitation is the lack of threads. Finally I found >the product PThreads and compiled and installed it. > >Where can I find documentation on this? It comes with nothing. My >threading tests with it are not working: I create two threads and then join >my main thread to one of them...it then runs the joined thread until it >terminates, then it runs the second thread. Is this package not >pre-emptive? > >Any help would be greatly appreciated. > >Thank-you >Dennis_Forbes AT hotmail DOT com >