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

Close

Commit [bab189] Maximize Restore History

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

* misc.c (pthread_self): Restore Win32 "last error"
cleared by TlsGetValue() call in
pthread_getspecific()
- "Steven Reddie" <smr@essemer.com.au>

2000-09-20 Ross Johnson <rpj@setup1.ise.canberra.edu.au>

* mutex.c (pthread_mutex_lock): Record the owner
of the mutex. This requires also keeping count of
recursive locks ourselves rather than leaving it
to Win32 since we need to know when to NULL the
thread owner when the mutex is unlocked.
(pthread_mutex_trylock): Likewise.
(pthread_mutex_unlock): Check that the calling
thread owns the mutex, decrement the recursive
lock count, and NULL the owner if zero. Return
EPERM if the mutex is owned by another thread.
* implement.h (pthread_mutex_t_): Add ownerThread
and lockCount members.
- reported by Arthur Kantor <akantor@bexusa.com>

rpj rpj 2000-12-28

added tests/mutex4.c
changed ChangeLog
changed Makefile
changed implement.h
changed misc.c
changed mutex.c
changed pthread.h
changed signal.c
changed tests
tests/mutex4.c Diff Switch to side-by-side view
Loading...
ChangeLog Diff Switch to side-by-side view
Loading...
Makefile 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...
pthread.h Diff Switch to side-by-side view
Loading...
signal.c Diff Switch to side-by-side view
Loading...
tests
Directory.