* dtable.h (dtable::lock): Make static.

This commit is contained in:
Christopher Faylor 2014-01-16 18:40:13 +00:00
parent 9a0786ea68
commit ae5b40a65b
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,8 @@
2014-01-08 Christopher Faylor <me.cygwin2013@cgf.cx>
2014-01-16 Christopher Faylor <me.cygwin2014@cgf.cx>
* dtable.h (dtable::lock): Make static.
2014-01-08 Christopher Faylor <me.cygwin2014@cgf.cx>
* exceptions.h (cygwin_exception::open_stackdumpfile): Move old
function into class.
@ -8,7 +12,7 @@
cygwin_exception class. Use 'h' class member.
(cygwin_exception::dumpstack): Close stack dump file handle if opened.
2014-01-04 Christopher Faylor <me.cygwin2013@cgf.cx>
2014-01-04 Christopher Faylor <me.cygwin2014@cgf.cx>
* fhandler.h (cltype): New enum.
(dev_console::console_attrs): Define struct name.

View File

@ -85,8 +85,8 @@ public:
void delete_archetype (fhandler_base *);
void fixup_before_exec (DWORD win_proc_id);
void fixup_before_fork (DWORD win_proc_id);
void lock () {lock_process::locker.acquire ();}
void unlock () {lock_process::locker.release ();}
static void lock () {lock_process::locker.acquire ();}
static void unlock () {lock_process::locker.release ();}
};
fhandler_base *build_fh_dev (const device&, const char * = NULL);