diff options
author | Christopher Faylor <me@cgf.cx> | 2004-05-17 15:27:56 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2004-05-17 15:27:56 +0000 |
commit | 641654f72a412df1dfe97890bdffbb8b5fa74eb2 (patch) | |
tree | a7e180f0c34ec1ff263e60f439777b0e5f3e5698 /winsup/cygwin/winsup.h | |
parent | fb4489a53f1f770ac7159fb38dceb480b99fb1cc (diff) | |
download | newlib-641654f72a412df1dfe97890bdffbb8b5fa74eb2.zip newlib-641654f72a412df1dfe97890bdffbb8b5fa74eb2.tar.gz newlib-641654f72a412df1dfe97890bdffbb8b5fa74eb2.tar.bz2 |
Change the name "title_mutex" to "tty_mutex" throughout.
* tty.h (tty_list::allocate_tty): Turn argument into a boolean.
* tty.cc (tty_list::init): Protect entire allocation operation with tty_mutex
(formerly title_mutex) to protect against allocation races.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r-- | winsup/cygwin/winsup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h index cd698ba..49a880e 100644 --- a/winsup/cygwin/winsup.h +++ b/winsup/cygwin/winsup.h @@ -134,7 +134,7 @@ extern int cygserver_running; #include "debug.h" /* Events/mutexes */ -extern HANDLE title_mutex; +extern HANDLE tty_mutex; /**************************** Convenience ******************************/ |