summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/sccl.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2012-05-23 16:26:34 +0000
committerCorinna Vinschen <corinna@vinschen.de>2012-05-23 16:26:34 +0000
commitbff08077a64cc2894fe7d528a848d81cc00950a0 (patch)
tree638786018ba2f4839dd0ba1eb37e670a7b95069d /newlib/libc/stdio/sccl.c
parent86b35406f22202a3c382ca06551e5c0fa3a0e628 (diff)
downloadcygnal-bff08077a64cc2894fe7d528a848d81cc00950a0.tar.gz
cygnal-bff08077a64cc2894fe7d528a848d81cc00950a0.tar.bz2
cygnal-bff08077a64cc2894fe7d528a848d81cc00950a0.zip
* thread.cc: Add a temporary workaround to help Cygwin along while
newlib doesn't install cleanup handlers. Explain the problem. (class __cygwin_lock_handler): New class. (__cygwin_lock_cleanup): New function. (__cygwin_lock_lock): Push __cygwin_lock_cleanup thread cleanup handler. (__cygwin_lock_trylock): Ditto. (__cygwin_lock_unlock): Pop thread cleanup handler. (pthread::pop_cleanup_handler): Temporarily allow cleanup function to destroy cleanup handler so we can pop in another function than we pushed in.
Diffstat (limited to 'newlib/libc/stdio/sccl.c')
0 files changed, 0 insertions, 0 deletions