mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread_win32.ci: fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3d3e46d4c7
commit
35eb542588
2 changed files with 6 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
Tue Jun 5 13:29:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
Tue Jun 5 13:32:04 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* compile.c, dir.c, eval.c, eval_jump.h, eval_method.h, numeric.c,
|
||||
pack.c, parse.y, re.c, thread.c, vm.c, vm_dump.c, call_cfunc.ci,
|
||||
|
@ -6,6 +6,8 @@ Tue Jun 5 13:29:12 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
|||
|
||||
* call_cfunc.ci: protoized.
|
||||
|
||||
* thread_win32.ci: fixed typo.
|
||||
|
||||
Tue Jun 5 13:17:11 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* call_cfunc.ci, compile.c, dir.c, eval.c, eval_jump.h, numeric.c,
|
||||
|
|
|
@ -238,7 +238,7 @@ native_mutex_unlock(rb_thread_lock_t *lock)
|
|||
int
|
||||
native_mutex_trylock(rb_thread_lock_t *lock)
|
||||
{
|
||||
#if USE_WIN32MUTEX
|
||||
#if USE_WIN32_MUTEX
|
||||
int result;
|
||||
thread_debug("native_mutex_trylock: %p\n", *lock);
|
||||
result = w32_wait_events(&*lock, 1, 1, 0);
|
||||
|
@ -258,7 +258,7 @@ native_mutex_trylock(rb_thread_lock_t *lock)
|
|||
void
|
||||
native_mutex_initialize(rb_thread_lock_t *lock)
|
||||
{
|
||||
#if USE_WIN32MUTEX
|
||||
#if USE_WIN32_MUTEX
|
||||
*lock = CreateMutex(NULL, FALSE, NULL);
|
||||
if (*lock == NULL) {
|
||||
w32_error();
|
||||
|
@ -272,7 +272,7 @@ native_mutex_initialize(rb_thread_lock_t *lock)
|
|||
void
|
||||
native_mutex_destroy(rb_thread_lock_t *lock)
|
||||
{
|
||||
#if USE_WIN32MUTEX
|
||||
#if USE_WIN32_MUTEX
|
||||
w32_close_handle(lock);
|
||||
#else
|
||||
DeleteCriticalSection(lock);
|
||||
|
|
Loading…
Add table
Reference in a new issue