Tree [e2fd6e] /
History



File Date Author Commit
tests 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
ANNOUNCE 2000-07-25 rpj rpj [b035ed] 2000-07-25 Ross Johnson <rpj@setup1.ise.canbe...
CONTRIBUTORS 2000-02-04 rpj rpj [20aff4] Minor admin changes.
COPYING.LIB 1998-10-02 bje bje [74a43f] 1998-10-02 Ben Elliston <bje@cygnus.com>
ChangeLog 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
FAQ 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
GNUmakefile 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
MAINTAINERS 1999-08-12 rpj rpj [9af51e] Merged patches to main trunk.
Makefile 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
Makefile.in 2000-01-04 rpj rpj [a378d9] Main changes (see ChangeLog diff for details an...
Makefile.vc 2000-01-07 rpj rpj [5cdc41] Minor changes.
PROGRESS 2000-02-04 rpj rpj [20aff4] Minor admin changes.
README 2000-01-04 rpj rpj [a378d9] Main changes (see ChangeLog diff for details an...
README.WinCE 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
TODO 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
WinCE-PORT 1999-11-04 rpj rpj [7fdb90] 1999-11-05 Ross Johnson <rpj@ixobrychus.canbe...
acconfig.h 1999-08-19 rpj rpj [5e87a0] 1999-08-19 Ross Johnson <rpj@ixobrychus.canbe...
attr.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
build.bat 1999-01-12 rpj rpj [bc3740] Wed Jan 13 09:34:52 1999 Ross Johnson <rpj@ix...
buildlib.bat 1999-09-15 rpj rpj [903153] Sat Sep 10 12:56:13 1999 Ross Johnson <rpj@sw...
cancel.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
cleanup.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
condvar.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
config.guess 1998-09-13 bje bje [8b3277] 1998-09-13 Ben Elliston <bje@cygnus.com>
config.h 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
config.h.in 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
config.sub 1998-09-13 bje bje [8b3277] 1998-09-13 Ben Elliston <bje@cygnus.com>
configure 1999-10-16 rpj rpj [8c2385] 1999-10-17 Ross Johnson <rpj@ixobrychus.canbe...
configure.in 2000-01-04 rpj rpj [a378d9] Main changes (see ChangeLog diff for details an...
create.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
dll.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
errno.c 1999-11-04 rpj rpj [7fdb90] 1999-11-05 Ross Johnson <rpj@ixobrychus.canbe...
exit.c 1999-08-22 rpj rpj [3f0d4d] 1999-08-22 Ross Johnson <rpj@ixobrychus.canbe...
fork.c 1999-03-16 rpj rpj [c5573b] Tue Mar 16 1999 Ross Johnson <rpj@ixobrychus...
global.c 2000-01-04 rpj rpj [a378d9] Main changes (see ChangeLog diff for details an...
implement.h 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
install-sh 1998-09-13 bje bje [8b3277] 1998-09-13 Ben Elliston <bje@cygnus.com>
misc.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
mutex.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
need_errno.h 1999-11-04 rpj rpj [7fdb90] 1999-11-05 Ross Johnson <rpj@ixobrychus.canbe...
private.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
pthread.def 2000-01-04 rpj rpj [a378d9] Main changes (see ChangeLog diff for details an...
pthread.h 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
rwlock.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
sched.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
sched.h 1999-11-04 rpj rpj [7fdb90] 1999-11-05 Ross Johnson <rpj@ixobrychus.canbe...
semaphore.c 1999-11-04 rpj rpj [7fdb90] 1999-11-05 Ross Johnson <rpj@ixobrychus.canbe...
semaphore.h 1999-11-04 rpj rpj [7fdb90] 1999-11-05 Ross Johnson <rpj@ixobrychus.canbe...
signal.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...
sync.c 2000-07-25 rpj rpj [b035ed] 2000-07-25 Ross Johnson <rpj@setup1.ise.canbe...
tsd.c 2000-07-25 rpj rpj [e2fd6e] 2000-07-25 Ross Johnson <rpj@special.ise.canb...

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 'CONTRIBUTORS' file for the list of contributors.


Building under Mingw32
----------------------

pthread.dll can be build with the current development version of mingw32.
Use the GNUmakefile with GNU make should do the right thing.


Why you cannot build the library with Cygwin yet
------------------------------------------------

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>