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>2006-06-23 04:19:39 +0400
committerChristopher Faylor <me@cgf.cx>2006-06-23 04:19:39 +0400
commit4470d66ddc7a41c8efee2f307a2dece3227f5515 (patch)
tree28079124f0580364885a7779dc8eb8b99ba09022 /winsup/cygwin/sync.h
parent083f3e4a23a83c4f62754da41a9bbac4a95cf1a7 (diff)
* 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.h3
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*/