Commit [623733]  Maximize  Restore  History

Fixing problems building with GNU compilers:

Sun Jan 24 01:34:52 1999 Ross Johnson <rpj@ixobrychus.canberra.edu.au>
* semaphore.c (sem_wait): Remove second arg to
pthreadCancelableWait() call.
Fri Jan 22 14:31:59 1999 Ross Johnson <rpj@swan.canberra.edu.au>
* Makefile.in (CFLAGS): Remove -fhandle-exceptions. Not needed
with egcs. Add -g for debugging.
* create.c (pthread_create): Replace __stdcall with PT_STDCALL
macro. This is a hack and must be fixed.
* misc.c (CancelableWait): Remove redundant statement.
* mutex.c (pthread_mutexattr_init): Cast calloc return value.
* misc.c (CancelableWait): Add cast.
(pthread_self): Add cast.
* exit.c (pthread_exit): Add cast.
* condvar.c (pthread_condattr_init): Cast calloc return value.
* cleanup.c: Reorganise conditional compilation.
* attr.c (pthread_attr_init): Remove unused 'result'.
Cast malloc return value.
* private.c (_pthread_callUserDestroyRoutines): Redo conditional
compilation.
* misc.c (CancelableWait): C++ version uses 'throw'.
* cancel.c (pthread_testcancel): Ditto.
* implement.h (class pthread_exception): Define for C++.
* pthread.h: Fix C, C++, and Win32 SEH condition compilation
mayhem around pthread_cleanup_* defines. C++ version now uses John
Bossom's cleanup handlers.
(pthread_attr_t): Make 'valid' unsigned.
Define '_timeb' as 'timeb' for Ming32.
Define PT_STDCALL as nothing for Mingw32. May be temporary.
* cancel.c (pthread_testcancel): Cast return value.

rpj rpj 1999-01-23

changed ChangeLog
changed Makefile.in
changed attr.c
changed cancel.c
changed cleanup.c
changed condvar.c
changed create.c
changed dll.c
changed exit.c
changed global.c
changed implement.h
changed misc.c
changed mutex.c
changed private.c
changed pthread.def
changed pthread.h
changed semaphore.c
changed tsd.c
ChangeLog Diff Switch to side-by-side view
Loading...
Makefile.in Diff Switch to side-by-side view
Loading...
attr.c Diff Switch to side-by-side view
Loading...
cancel.c Diff Switch to side-by-side view
Loading...
cleanup.c Diff Switch to side-by-side view
Loading...
condvar.c Diff Switch to side-by-side view
Loading...
create.c Diff Switch to side-by-side view
Loading...
dll.c Diff Switch to side-by-side view
Loading...
exit.c Diff Switch to side-by-side view
Loading...
global.c Diff Switch to side-by-side view
Loading...
implement.h Diff Switch to side-by-side view
Loading...
misc.c Diff Switch to side-by-side view
Loading...
mutex.c Diff Switch to side-by-side view
Loading...
private.c Diff Switch to side-by-side view
Loading...
pthread.def Diff Switch to side-by-side view
Loading...
pthread.h Diff Switch to side-by-side view
Loading...
semaphore.c Diff Switch to side-by-side view
Loading...
tsd.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks