* eval.c: remove rb_thread_stop_timer_thread function declaration.
Instead, include vm_core.h. * process.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
4010bc1e84
commit
ecaf7975cd
@ -1,3 +1,9 @@
|
|||||||
|
Sun Jun 5 23:26:15 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
|
* eval.c: remove rb_thread_stop_timer_thread function declaration.
|
||||||
|
Instead, include vm_core.h.
|
||||||
|
* process.c: ditto.
|
||||||
|
|
||||||
Sun Jun 5 21:38:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
Sun Jun 5 21:38:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* thread_pthread.c (thread_timer): add to care a spurious wakeup.
|
* thread_pthread.c (thread_timer): add to care a spurious wakeup.
|
||||||
|
4
eval.c
4
eval.c
@ -16,6 +16,7 @@
|
|||||||
#include "gc.h"
|
#include "gc.h"
|
||||||
#include "ruby/vm.h"
|
#include "ruby/vm.h"
|
||||||
#include "ruby/encoding.h"
|
#include "ruby/encoding.h"
|
||||||
|
#include "vm_core.h"
|
||||||
|
|
||||||
#define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
|
#define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
|
||||||
|
|
||||||
@ -35,7 +36,6 @@ VALUE rb_eSysStackError;
|
|||||||
/* initialize ruby */
|
/* initialize ruby */
|
||||||
|
|
||||||
void rb_clear_trace_func(void);
|
void rb_clear_trace_func(void);
|
||||||
void rb_thread_stop_timer_thread(void);
|
|
||||||
|
|
||||||
void rb_call_inits(void);
|
void rb_call_inits(void);
|
||||||
void Init_heap(void);
|
void Init_heap(void);
|
||||||
@ -118,8 +118,6 @@ ruby_finalize(void)
|
|||||||
ruby_finalize_1();
|
ruby_finalize_1();
|
||||||
}
|
}
|
||||||
|
|
||||||
void rb_thread_stop_timer_thread(void);
|
|
||||||
|
|
||||||
int
|
int
|
||||||
ruby_cleanup(volatile int ex)
|
ruby_cleanup(volatile int ex)
|
||||||
{
|
{
|
||||||
|
@ -978,10 +978,6 @@ proc_detach(VALUE obj, VALUE pid)
|
|||||||
char *strtok();
|
char *strtok();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void rb_thread_stop_timer_thread(void);
|
|
||||||
void rb_thread_start_timer_thread(void);
|
|
||||||
void rb_thread_reset_timer_thread(void);
|
|
||||||
|
|
||||||
static int forked_child = 0;
|
static int forked_child = 0;
|
||||||
|
|
||||||
#ifdef SIGPIPE
|
#ifdef SIGPIPE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user