mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* gc.c (mem_error): prohibit recursive mem_error().
(ruby-bugs-ja:PR#36) * eval.c (rb_thread_fd_writable): should not switch context if rb_thread_critical is set. * eval.c (rb_thread_wait_fd): ditto. * eval.c (rb_thread_wait_for): ditto. * eval.c (rb_thread_select): ditto. * eval.c (rb_thread_join): join during critical section causes deadlock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@1087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fd850de8a8
commit
32d0e70329
5 changed files with 40 additions and 11 deletions
|
|
@ -103,11 +103,9 @@ static int duppair proto((char *, datum));
|
|||
/*
|
||||
* externals
|
||||
*/
|
||||
#ifndef sun
|
||||
#ifndef MSDOS
|
||||
#if !defined(sun) && !defined(MSDOS) && !defined(_WIN32)
|
||||
extern int errno;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
* forward
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue