diff options
author | Christopher Faylor <me@cgf.cx> | 2000-03-07 08:33:09 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-03-07 08:33:09 +0300 |
commit | 5abc9b830b4a18d23782f8267abad8ee6eda6d7b (patch) | |
tree | 726423551dc0d900b8d4d80623d773f5abf178a7 /winsup/cygwin/fhandler_tty.cc | |
parent | b5314dabec4edd798f5ba53a5561e85c15b35355 (diff) |
Throughout use strace class in place of individual functions and variables.
* cygwin.din: Eliminate _strace_wm.
* sigproc.cc (wait_sig): Temporarily add more debugging output.
* include/cygwin/version.h: Bump minor api to reflect export change.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 7ae872e49..0e6a6edc1 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -105,8 +105,8 @@ DWORD fhandler_tty_common::__acquire_output_mutex (const char *fn, int ln, DWORD ms) { - if (strace_active) - strace_printf (_STRACE_TERMIOS, "%F (%d): tty output_mutex: waiting %d ms", fn, ln, ms); + if (strace.active) + strace.prntf (_STRACE_TERMIOS, "%F (%d): tty output_mutex: waiting %d ms", fn, ln, ms); DWORD res = WaitForSingleObject (output_mutex, ms); if (res == WAIT_OBJECT_0) { @@ -118,8 +118,8 @@ fhandler_tty_common::__acquire_output_mutex (const char *fn, int ln, osi++; #endif } - if (strace_active) - strace_printf (_STRACE_TERMIOS, "%F (%d): tty output_mutex: acquired", fn, ln, res); + if (strace.active) + strace.prntf (_STRACE_TERMIOS, "%F (%d): tty output_mutex: acquired", fn, ln, res); return res; } @@ -136,8 +136,8 @@ fhandler_tty_common::__release_output_mutex (const char *fn, int ln) ostack[osi].ln = -ln; #endif } - if (strace_active) - strace_printf (_STRACE_TERMIOS, "%F (%d): tty output_mutex released", fn, ln); + if (strace.active) + strace.prntf (_STRACE_TERMIOS, "%F (%d): tty output_mutex released", fn, ln); } #define acquire_output_mutex(ms) \ |