diff options
author | Christopher Faylor <me@cgf.cx> | 2008-11-07 18:32:41 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-11-07 18:32:41 +0000 |
commit | dc74da050c86c0f3be47510b36bd2ee15ed13e8a (patch) | |
tree | 69700d01b029c61e2acde47e600ea9def45672d9 /newlib/libc/stdio/asniprintf.c | |
parent | 5dd0d5828ff0dbc79ae9421b7d8d1c6053ab9f4a (diff) | |
download | cygnal-dc74da050c86c0f3be47510b36bd2ee15ed13e8a.tar.gz cygnal-dc74da050c86c0f3be47510b36bd2ee15ed13e8a.tar.bz2 cygnal-dc74da050c86c0f3be47510b36bd2ee15ed13e8a.zip |
* pthread.cc (pthread_mutex::_unlock): Avoid unlocking a mutex if the
recursion_counter is already 0.
(pthread_mutex::_destroy): Don't consider a mutex busy if its recursion_counter
== 0.
(pthread_mutex::_fixup_after_fork): Set recursion_counter to 0 to flag that
we've just forked. Don't reset the owner of this mutex since the forkee may
think it still owns the mutex. Reinstate initialization of win32_obj_id.
* fhandler_floppy.cc (fhandler_dev_floppy::raw_read): Initialize a variable to
bypass a C++ warning.
Diffstat (limited to 'newlib/libc/stdio/asniprintf.c')
0 files changed, 0 insertions, 0 deletions