Message-Id: <200307201607.h6KG7ul04135@delorie.com> Sender: rich AT phekda DOT freeserve DOT co DOT uk Date: Sun, 20 Jul 2003 10:56:06 +0100 From: Richard Dawe X-Accept-Language: de,fr To: DJGPP announcements Subject: ANNOUNCE: Alpha 1 of DJGPP port of GNU Pth 1.3.7 Hello. I'm pleased to announce alpha 1 the DJGPP port of GNU Pth 1.3.7. But what is GNU Pth? From its README: "Pth is a very portable POSIX/ANSI-C based library for Unix platforms which provides non-preemptive priority-based scheduling for multiple threads of execution (aka `multithreading') inside event-driven applications. All threads run in the same address space of the server application, but each thread has its own individual program-counter, run-time stack, signal mask and errno variable." To use Pth in you own programs, you only need to download the binary distribution. If you wish to examine or rebuild the Pth sources, you need to download the source distribution. The Pth port is available here: Binaries: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/alpha/pth137b.zip Sources: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/alpha/pth137s.zip I built Pth 1.3.7 using DJGPP 2.04 alpha 1 and libsocket 0.8.0. You will need DJGPP 2.04 alpha 1 to use Pth. Pth may also work with Watt-32, but I have not tested that. Please read the installation instructions from readme.dos here: http://www.phekda.freeserve.co.uk/richdawe/djgpp/pth/1.3.7/ You can also read the changelog.dos and todo.dos files there. readme.dos can also be found in the ZIP files as gnu\pth.137\djgpp\readme.dos. Here are some known issues with alpha 1 of GNU Pth: . DJGPP's setjmp/longjmp don't save the floating-point state. Pth uses setgmp/longjmp to save/restore the processor state for switching threads. So floating-point operations will not be thread-safe. You will need to explicitly save the floating-point state, before allowing thread switches. Maybe this will be fixed in a later version. . I have not checked to see whether this package builds with short filenames. Maybe this will be fixed in a later version. Thanks to Ben Decker for his testing of this port and convincing me to make packages of it. ;) Please direct any further discussions about this port to comp.os.msdos.djgpp newsgroup (or write to its e-mail gateway djgpp AT delorie DOT com). I try to read the DJGPP newsgroup on a regular basis, but also please feel free to contact me by e-mail (address below). Regards, -- Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]