diff options
author | Christopher Faylor <me@cgf.cx> | 2006-06-03 21:44:01 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-06-03 21:44:01 +0000 |
commit | c76ca047463a3f9ad93f5bafaf247ae6862197ea (patch) | |
tree | c91b125c4a99278294443364a0a1255238f5cf87 /winsup/cygwin/cygthread.cc | |
parent | 71d59a926f9d632b15c531325bad15edb32b8f81 (diff) | |
download | cygnal-c76ca047463a3f9ad93f5bafaf247ae6862197ea.tar.gz cygnal-c76ca047463a3f9ad93f5bafaf247ae6862197ea.tar.bz2 cygnal-c76ca047463a3f9ad93f5bafaf247ae6862197ea.zip |
* cygthread.cc (cygthread::terminate_thread): In debugging output, use name of
thread being terminated rather than thread doing terminating.
* fhandler.h (fhandler_pty_master::slave): Delete.
(fhandler_pty_master::get_unit): Ditto.
(fhandler_pty_master::setup): Change argument declaration to accommodate new
usage.
* fhandler_tty.cc (fhandler_tty_master::init): Remove obsolete slave
assignment. Pass argument to setup indicating that this is a tty.
(fhandler_tty_slave::open): Use dev() method rather than referencing pc.dev
directly.
(fhandler_pty_master::open): Don't create archetype based on ptym device
number. Set device number to use DEV_TTYM_MAJOR and tty number. Pass argument
to setup indicating that this is a pty.
(fhandler_pty_master::setup): Change single argument to a flag indicating
whether we're creating a pty and use appropriately. Calculate 't' variable
here rather than in caller.
* fhandler_dsp.cc (fhandler_dev_dsp::open): Use dev() method rather than
referencing pc.dev directly.
Diffstat (limited to 'winsup/cygwin/cygthread.cc')
-rw-r--r-- | winsup/cygwin/cygthread.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/cygthread.cc b/winsup/cygwin/cygthread.cc index 407454310..b9e075a16 100644 --- a/winsup/cygwin/cygthread.cc +++ b/winsup/cygwin/cygthread.cc @@ -289,7 +289,7 @@ bool cygthread::terminate_thread () { bool terminated = true; - debug_printf ("thread '%s', id %p, inuse %d, stack_ptr %p", name (), id, inuse, stack_ptr); + debug_printf ("thread '%s', id %p, inuse %d, stack_ptr %p", __name, id, inuse, stack_ptr); while (inuse && !stack_ptr) low_priority_sleep (0); |