diff options
author | rpj <rpj> | 2001-02-09 06:51:30 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-02-09 06:51:30 +0000 |
commit | 1648c7a97f27d10ad302c6141562ece01065e1d7 (patch) | |
tree | c16f939acf7ac98db38039d747f5804d04c33fe1 /ChangeLog | |
parent | 2b3eede0b834a82c7dce5ec328f3929c0effc536 (diff) |
Remodeled mutex routines again to eliminate critical sections.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,24 @@ +2001-02-09 Ross Johnson <rpj@setup1.ise.canberra.edu.au>
+
+ * nonportable.c (pthread_mutex_setdefaulttype_np): New
+ function for changing the default mutex type.
+
+ * mutex.c (ptw32_InitializeCriticalSection): Removed.
+ (ptw32_InitializeCriticalSection): Removed.
+ (ptw32_InitializeCriticalSection): Removed.
+ (ptw32_InitializeCriticalSection): Removed.
+ (ptw32_InitializeCriticalSection): Removed.
+ (pthread_mutex_init): Apply Thomas Pfaff's original
+ patches but altered slightly to avoid using
+ critical sections and retain/adapt for different
+ mutex types (see log entry for 2001-01-10).
+ (pthread_mutex_destroy): Likewise.
+ (pthread_mutex_lock): Likewise.
+ (pthread_mutex_unlock): Likewise.
+ (pthread_mutex_trylock): Likewise.
+
+ * Tagged repository 'exp-2001-02-09-passed'.
+
2001-02-09 Ross Johnson <rpj@special.ise.canberra.edu.au>
* sched.c (pthread_setconcurrency): Moved to misc.c.
|