Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [11eb4d] Maximize Restore History

2000-08-18 Ross Johnson <rpj@setup1.ise.canberra.edu.au>

* Several: Fix typos from scripted edit session
yesterday.

* nonportable.c (pthread_mutexattr_setforcecs_np):
Moved this function from mutex.c.
(pthread_getw32threadhandle_np): New function to
return the win32 thread handle that the POSIX
thread is using.
* mutex.c (pthread_mutexattr_setforcecs_np):
Moved to new file "nonportable.c".

* pthread.h (PTW32_BUILD): Only redefine __except
and catch compiler keywords if we aren't building
the library (ie. PTW32_BUILD is not defined) -
this is safer than defining and then undefining
if not building the library.
* implement.h: Remove __except and catch undefines.
* Makefile (CFLAGS): Define PTW32_BUILD.
* GNUmakefile (CFLAGS): Define PTW32_BUILD.

* All appropriate: Change Pthread_exception* to
ptw32_exception* to be consistent with internal
identifier naming.

* private.c (ptw32_throw): New function to provide
a generic exception throw for all internal
exceptions and EH schemes.
(ptw32_threadStart): pthread_exit() value is now
returned via the thread structure exitStatus
element.
* exit.c (pthread_exit): pthread_exit() value is now
returned via the thread structure exitStatus
element.
* cancel.c (ptw32_cancel_self): Now uses ptw32_throw.
(pthread_setcancelstate): Ditto.
(pthread_setcanceltype): Ditto.
(pthread_testcancel): Ditto.
(pthread_cancel): Ditto.
* misc.c (CancelableWait): Ditto.
* exit.c (pthread_exit): Ditto.
* All applicable: Change PTW32_ prefix to
PTW32_ prefix to remove leading underscores
from private library identifiers.

rpj rpj 2000-08-18

changed ANNOUNCE
changed ChangeLog
changed GNUmakefile
changed Makefile
changed README
changed attr.c
changed cancel.c
changed cleanup.c
changed condvar.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 rwlock.c
changed sched.c
changed tsd.c
ANNOUNCE Diff Switch to side-by-side view
Loading...
ChangeLog Diff Switch to side-by-side view
Loading...
GNUmakefile Diff Switch to side-by-side view
Loading...
Makefile Diff Switch to side-by-side view
Loading...
README 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...
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...
rwlock.c Diff Switch to side-by-side view
Loading...
sched.c Diff Switch to side-by-side view
Loading...
tsd.c Diff Switch to side-by-side view
Loading...