Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-06-10 02:33:57 +0400
committerChristopher Faylor <me@cgf.cx>2005-06-10 02:33:57 +0400
commit9a9177720555953b8761b8f22ef7f5566db0955f (patch)
treefcbbb366a27fce1bba7d724b265bb3df91970f21 /winsup/cygwin/thread.cc
parentfa0dcd0d650d47e33d3301f107580bbf3e7afa69 (diff)
* cygtls.h (_local_storage::setmode_file): New element.
(_local_storage::setmode_mode): New element. * tlsoffsets.h: Regenerate. * cygwin.din (setmode): Define as cygwin_getmode. * syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than using unthreadsafe static. (setmode): Break out fwalk stuff. (cygwin_setmode): New function. Put fwalk stdio stuff here.
Diffstat (limited to 'winsup/cygwin/thread.cc')
-rw-r--r--winsup/cygwin/thread.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc
index f1714d2bb..f25878480 100644
--- a/winsup/cygwin/thread.cc
+++ b/winsup/cygwin/thread.cc
@@ -1756,8 +1756,7 @@ int
semaphore::_trywait ()
{
/* FIXME: signals should be able to interrupt semaphores...
- *We probably need WaitForMultipleObjects here.
- */
+ We probably need WaitForMultipleObjects here. */
if (WaitForSingleObject (win32_obj_id, 0) == WAIT_TIMEOUT)
{
set_errno (EAGAIN);