OSDN Git Service

Wed Sep 12 13:03:00 2001 Robert Collins <rbtcollins@hotmail.com>
authorrbcollins <rbcollins>
Wed, 12 Sep 2001 03:18:04 +0000 (03:18 +0000)
committerrbcollins <rbcollins>
Wed, 12 Sep 2001 03:18:04 +0000 (03:18 +0000)
commit7b41a161127ff33db0e1be029d38177838948164
tree0be902a1b7cfe129d1cf422fa00f91e035207928
parenta3601e4de99251c1e73aa2a231b55dd0280240d9
Wed Sep 12 13:03:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * autoload.cc (LoadDLLfuncEx): Auto load TryEnterCriticalSection - its a
n NT only call.
        * thread.cc (pthread_cond::TimedWait): Use critical sections for NT.
        (pthread_cond::fixup_after_fork): Don't detect bad apps.
        (pthread_mutex::pthread_mutex): Use critical sections for NT.
        (pthread_mutex::~pthread_mutex): Ditto.
        (pthread_mutex::Lock): Ditto.
        (pthread_mutex::TryLock): Ditto.
        (pthread_mutex::UnLock): Ditto.
        (pthread_mutex::fixup_after_fork): Ditto. Also do not detect bad apps.
        (__pthread_mutex_trylock): Move WIN32 specific test into the class metho
d.
        (__pthread_mutex_destroy): Prevent dereferencing passed pointer without
valid address.
        * thread.h (pthread_mutex): Use critical sections for NT.
winsup/cygwin/ChangeLog
winsup/cygwin/autoload.cc
winsup/cygwin/thread.cc
winsup/cygwin/thread.h