* load.c (load_lock): reverted.
* thread.c (rb_barrier_wait): check for recursive wait. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
162cc94d15
commit
97cdb5ac25
@ -1,3 +1,9 @@
|
||||
Mon Dec 24 17:59:29 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* load.c (load_lock): reverted.
|
||||
|
||||
* thread.c (rb_barrier_wait): check for recursive wait.
|
||||
|
||||
Mon Dec 24 17:50:54 2007 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* eval.c (function_call_may_return_twice_jmp_buf): removed.
|
||||
|
3
load.c
3
load.c
@ -345,8 +345,7 @@ load_lock(const char *ftptr)
|
||||
st_insert(loading_tbl, (st_data_t)ftptr, data);
|
||||
return (char *)ftptr;
|
||||
}
|
||||
rb_barrier_wait((VALUE)data);
|
||||
return 0;
|
||||
return RTEST(rb_barrier_wait((VALUE)data)) ? (char *)ftptr : 0;
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user