OSDN Git Service

* cygthread.cc (cygthread::is): Eliminate.
authorcgf <cgf>
Sun, 16 May 2004 04:18:50 +0000 (04:18 +0000)
committercgf <cgf>
Sun, 16 May 2004 04:18:50 +0000 (04:18 +0000)
commit23f39b10c742d2392a38e5fb9aad8d8e3c1c3ad0
tree6e303acce8fe966d4dc9c46962df919c3d492799
parentf9d5b4fd42b527bb3a8fbcaec3004bb720a7e32c
* cygthread.cc (cygthread::is): Eliminate.
* cygthread.h (cygthread::is): Eliminate declaratin.
* fhandler_console.cc (fhandler_console::read): Only wait for signal_arrived in
the main thread.
* fhandler_socket.cc: Include new "wininfo.h".
(fhandler_socket::ioctl): Use 'winmsg' rather than 'gethwnd()'.
* sync.cc (muto::grab): Define new function.
(muto::acquire): Use tls pointer rather than tid.
(muto::acquired): Ditto.
(muto::reset): Delete.
(muto::release): Ditto.  Also implement "close on last release".
* sync.h (muto::tid): Delete.
(muto::tls): New field.
(muto::ismine): Delete.
(muto::owner): Delete.
(muto::unstable): Delete.
(muto::reset): Delete.
(muto::upforgrabs): New method.
(muto::grab): Ditto.
(new_muto_name): New define.
* wininfo.h: New file.
(wininfo): New class.
* window.cc: Rework throughout to use winfo class for controlling invisible
window operation.
(gethwnd): Delete definition.
* winsup.h (gethwnd): Delete declaration.
winsup/cygwin/ChangeLog
winsup/cygwin/cygthread.cc
winsup/cygwin/cygthread.h
winsup/cygwin/fhandler_console.cc
winsup/cygwin/fhandler_socket.cc
winsup/cygwin/sync.cc
winsup/cygwin/sync.h
winsup/cygwin/window.cc
winsup/cygwin/winsup.h