* 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.
This commit is contained in:
@@ -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*/
|
||||
|
Reference in New Issue
Block a user