[1.7] NEW: {pth/libpth20/libpth-devel}-2.0.7-2

Charles Wilson cygwin@cwilson.fastmail.fm
Mon Oct 26 14:20:00 GMT 2009

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.  That is, GNU Pth is
a user-mode threading library.

At present, pth on cygwin does not allow the use of fork() in client
applications, so it has been disabled:
  pth_fork() always returns -1 with errno=ENOSYS
  fork() is redirected by pth.h to call pth_fork()
This will be corrected once cygwin implements the sigstack() and
sigaltstack() system calls, which is expected sometime after cygwin
version 1.7.1 is released. See /usr/share/doc/fork-bug/README after
installation for more information.

pth is a prerequisite for (unmodified) GnuPG2 and libassuan.  This
build passes all internal self-tests, but has one known cygwin-specific
deficiency as mentioned above. The distribution includes a test case in
/usr/share/doc/pth/fork-bug/.  If you don't use fork(), pth works fine
and is generally quite a bit faster (and supposedly more secure) than
native threads such as pthreads.

[[ compiled using gcc-4.3.4-1 ]]

Charles Wilson
volunteer pth maintainer for cygwin


To update your installation, click on the "Install Cygwin now" link
on the http://cygwin.com/ web page.  This downloads setup.exe to
your system.  Then, run setup and answer all of the questions.


If you want to unsubscribe from the cygwin-announce mailing list, look
at the "List-Unsubscribe: " tag in the email header of this message.
Send email to the address specified there.  It will be in the format:


If you need more information on unsubscribing, start reading here:


Please read *all* of the information on unsubscribing that is
available starting at this URL.

More information about the Cygwin-announce mailing list