aboutsummaryrefslogtreecommitdiff
path: root/gcc/version.c
diff options
context:
space:
mode:
authorWu Yongwei <adah@sh163.net>2004-04-27 21:38:05 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2004-04-27 21:38:05 +0000
commit80408cac1637c8452c3b9f3a227d701b9d40641f (patch)
treecfd7dc5d643ae5922fccb3082a401b80049d8d46 /gcc/version.c
parent1f1d584b73ffdfaf6cbfbcb8541cf67ad5136e6f (diff)
downloadgcc-80408cac1637c8452c3b9f3a227d701b9d40641f.zip
gcc-80408cac1637c8452c3b9f3a227d701b9d40641f.tar.gz
gcc-80408cac1637c8452c3b9f3a227d701b9d40641f.tar.bz2
gthr-win32.h (__gthread_mutex_t): Change typedef to new structure.
2004-04-27 Wu Yongwei <adah@sh163.net> * gthr-win32.h (__gthread_mutex_t): Change typedef to new structure. (__GTHREAD_MUTEX_INIT_DEFAULT): Adjust. (__gthread_mutex_init_function): Replace CreateMutex with initialization of custom mutex using CreateSemaphore. (__gthread_mutex_lock): Use InterlockedIncrement. (__gthread_mutex_trylock): Use InterlockedCompareExchange. (__gthread_mutex_unlock): Use InterlockedDecrement and ReleaseSemaphore to unlock * config/i386/gthr-win32.c (__gthread_mutex_init_function, __gthread_mutex_lock, __gthread_mutex_trylock, __gthread_mutex_unlock): Adjust to match inline versions in gthr-win32.h. From-SVN: r81227
Diffstat (limited to 'gcc/version.c')
0 files changed, 0 insertions, 0 deletions