diff options
author | Christopher Faylor <me@cgf.cx> | 2006-06-23 00:19:39 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-06-23 00:19:39 +0000 |
commit | 4470d66ddc7a41c8efee2f307a2dece3227f5515 (patch) | |
tree | 28079124f0580364885a7779dc8eb8b99ba09022 /winsup/cygwin/sync.h | |
parent | 083f3e4a23a83c4f62754da41a9bbac4a95cf1a7 (diff) | |
download | cygnal-4470d66ddc7a41c8efee2f307a2dece3227f5515.tar.gz cygnal-4470d66ddc7a41c8efee2f307a2dece3227f5515.tar.bz2 cygnal-4470d66ddc7a41c8efee2f307a2dece3227f5515.zip |
* fhandler_fifo.cc (fhandler_fifo::open): Release process lock and grab a
system-wide mutex to prevent a deadlock and a race.
* sync.h (lock_process): Make fhandler_fifo a friend.
* smallprint.c (__small_vsprintf): Cosmetic change.
Diffstat (limited to 'winsup/cygwin/sync.h')
-rw-r--r-- | winsup/cygwin/sync.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/winsup/cygwin/sync.h b/winsup/cygwin/sync.h index f8019a8fe..8fd01df3a 100644 --- a/winsup/cygwin/sync.h +++ b/winsup/cygwin/sync.h @@ -1,6 +1,6 @@ /* sync.h: Header file for cygwin synchronization primitives. - Copyright 1999, 2000, 2001, 2002, 2003, 2004 Red Hat, Inc. + Copyright 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Red Hat, Inc. Written by Christopher Faylor <cgf@cygnus.com> @@ -66,6 +66,7 @@ public: locker.release (); } friend class dtable; + friend class fhandler_fifo; }; #endif /*_SYNC_H*/ |