Tree [f92b47] snap-1999-05-30-patches /
History



File Date Author Commit
tests 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
ANNOUNCE 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
CONTRIBUTORS 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
COPYING.LIB 1998-10-02 bje bje [74a43f] 1998-10-02 Ben Elliston <bje@cygnus.com>
ChangeLog 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
FAQ 1999-05-29 rpj rpj [0103da] ./ChangeLog
MAINTAINERS 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
Makefile 1999-03-16 rpj rpj [c5573b] Tue Mar 16 1999 Ross Johnson <rpj@ixobrychus...
Makefile.in 1999-04-03 rpj rpj [451bb0] ./ChangeLog
PROGRESS 1999-03-18 rpj rpj [aa07e9] Refer readers to the web site.
README 1999-04-06 rpj rpj [747736] Wed Apr 7 09:37:00 1999 Ross Johnson <rpj@ix...
acconfig.h 1998-10-03 bje bje [28706c] 1998-10-03 Ben Elliston <bje@cygnus.com>
attr.c 1999-05-13 rpj rpj [67f6e9] Fri May 14 12:13:18 1999 Ross Johnson <rpj@sw...
build.bat 1999-01-12 rpj rpj [bc3740] Wed Jan 13 09:34:52 1999 Ross Johnson <rpj@ix...
buildlib.bat 1999-01-03 rpj rpj [36f0ed] Merge John Bossom's code into the main trunk. S...
cancel.c 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
cleanup.c 1999-04-06 rpj rpj [747736] Wed Apr 7 09:37:00 1999 Ross Johnson <rpj@ix...
condvar.c 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
config.guess 1998-09-13 bje bje [8b3277] 1998-09-13 Ben Elliston <bje@cygnus.com>
config.h 1999-02-17 rpj rpj [4283bb] Add config.h. This file is generated by running...
config.h.in 1998-10-03 bje bje [42fa8e] 1998-10-03 Ben Elliston <bje@cygnus.com>
config.sub 1998-09-13 bje bje [8b3277] 1998-09-13 Ben Elliston <bje@cygnus.com>
configure 1999-02-09 rpj rpj [a33932] Wed Feb 10 12:49:11 1999 Ross Johnson <rpj@ix...
configure.in 1998-10-04 bje bje [c6332c] 1998-10-04 Ben Elliston <bje@cygnus.com>
create.c 1999-04-03 rpj rpj [451bb0] ./ChangeLog
dll.c 1999-03-16 rpj rpj [c5573b] Tue Mar 16 1999 Ross Johnson <rpj@ixobrychus...
errno.c 1999-04-06 rpj rpj [5ad9bc] Wed Apr 7 14:09:52 1999 Ross Johnson <rpj@sw...
exit.c 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
fork.c 1999-03-16 rpj rpj [c5573b] Tue Mar 16 1999 Ross Johnson <rpj@ixobrychus...
global.c 1999-03-16 rpj rpj [c5573b] Tue Mar 16 1999 Ross Johnson <rpj@ixobrychus...
implement.h 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
install-sh 1998-09-13 bje bje [8b3277] 1998-09-13 Ben Elliston <bje@cygnus.com>
misc.c 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
mutex.c 1999-03-16 rpj rpj [c5573b] Tue Mar 16 1999 Ross Johnson <rpj@ixobrychus...
private.c 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
pthread.def 1999-05-29 rpj rpj [0103da] ./ChangeLog
pthread.h 1999-08-12 rpj rpj [f92b47] 1999-08-12 Ross Johnson <rpj@ixobrychus.canbe...
sched.c 1999-04-06 rpj rpj [747736] Wed Apr 7 09:37:00 1999 Ross Johnson <rpj@ix...
sched.h 1999-04-06 rpj rpj [747736] Wed Apr 7 09:37:00 1999 Ross Johnson <rpj@ix...
semaphore.c 1999-05-29 rpj rpj [0103da] ./ChangeLog
semaphore.h 1999-05-29 rpj rpj [8b12ef] Sun May 30 00:25:02 1999 Ross Johnson <rpj@ix...
signal.c 1999-03-16 rpj rpj [c5573b] Tue Mar 16 1999 Ross Johnson <rpj@ixobrychus...
sync.c 1999-04-06 rpj rpj [747736] Wed Apr 7 09:37:00 1999 Ross Johnson <rpj@ix...
tsd.c 1999-04-06 rpj rpj [747736] Wed Apr 7 09:37:00 1999 Ross Johnson <rpj@ix...

Read Me

PTHREADS-WIN32
==============

Pthreads-win32 is free software, distributed under the GNU Library
General Public License (LGPL). See the file 'COPYING.LIB' for terms
and conditions.

Mailing list
------------

There is a mailing list for discussing pthreads on Win32. To join, send email
to:

	pthreads-win32-subscribe@sourceware.cygnus.com


Acknowledgements
----------------

Pthreads-win32 is based substantially on a Win32 Pthreads implementation
contributed by John E. Bossom <jebossom@cognos.com>.

See the 'MAINTAINERS' file for the list of contributors.


Why you cannot build the library with Cygwin or Mingw32
-------------------------------------------------------

The DLL pthread.dll still cannot be built using g++ due to non thread-safe
exception handling in g++.  Thanks to Kevin Ruland for researching this
one. See the FAQ Question 2 for more information.

However, you can use the export library libpthread32.a built under
Mingw32 (not tested under Cygwin) together with the pthread.dll built
with MSVC. Thanks to Anders Norlander for pointing this out.

For convenience, the following pre-built files can be downloaded from
the FTP site (see under "Availability" below):

	pthread.h
	semaphore.h
	sched.h
	pthread.dll	- built with MSVC cl compiler
	pthread.lib	- built with MSVC cl compiler
	libpthread32.a	- built with Mingw32 (use with MSVC pthread.dll)

With these files in the same directory as your application myapp.c,
you could compile, link and run myapp.c under Mingw32 as follows:

	gcc -o myapp.exe myapp.c -I. -L. -lpthread32
	myapp

Or put pthread.dll in an appropriate directory in your PATH,
put libpthread32.a in MINGW_ROOT\i386-mingw32\lib, and
put pthread.h in MINGW_ROOT\i386-mingw32\include, then use:

	gcc -o myapp.exe myapp.c -lpthread32
	myapp


Availability
------------

The complete source code in either unbundled or tar/gzipped format
can be found at:
	ftp://sourceware.cygnus.com/pub/pthreads-win32

The pre-built DLL, export libraries and matching pthread.h can be found at:
	ftp://sourceware.cygnus.com/pub/pthreads-win32/dll-latest

Home page:
	http://sourceware.cygnus.com/pthreads-win32/

----
Ross Johnson
<rpj@ise.canberra.edu.au>