diff options
author | rpj <rpj> | 2001-10-15 08:47:10 +0000 |
---|---|---|
committer | rpj <rpj> | 2001-10-15 08:47:10 +0000 |
commit | d0abe46d41d3c8db1772337e4160ca200b9dbcff (patch) | |
tree | 03bdc6e8c816a999ef66d6a05a52166dba7f7cb8 /tests/spin4.c | |
parent | 50d2dd36c9a30460b32a4c9a3b4b2c456a255467 (diff) |
* spin.c (pthread_spin_lock): PTHREAD_SPINLOCK_INITIALIZER
was causing a program fault.
(pthread_spin_init): Could have alloced memory
without freeing under some error conditions.
* mutex.c (pthread_mutex_init): Move memory
allocation of mutex struct after checking for
PROCESS_SHARED.
Diffstat (limited to 'tests/spin4.c')
0 files changed, 0 insertions, 0 deletions