mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* vm_core.h (rb_signal_buff_size, rb_signal_exec): moved
declarations from thread.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0ac2f9513f
commit
ff6ce776cb
4 changed files with 9 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Oct 10 05:33:14 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* vm_core.h (rb_signal_buff_size, rb_signal_exec): moved
|
||||
declarations from thread.c.
|
||||
|
||||
Sat Oct 9 16:54:28 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in (RSHIFT): quote to get rid of argument expansion
|
||||
|
|
5
thread.c
5
thread.c
|
@ -69,11 +69,6 @@ static int rb_threadptr_dead(rb_thread_t *th);
|
|||
|
||||
static void rb_check_deadlock(rb_vm_t *vm);
|
||||
|
||||
int rb_signal_buff_size(void);
|
||||
void rb_signal_exec(rb_thread_t *th, int sig);
|
||||
void rb_disable_interrupt(void);
|
||||
void rb_thread_stop_timer_thread(void);
|
||||
|
||||
static const VALUE eKillSignal = INT2FIX(0);
|
||||
static const VALUE eTerminateSignal = INT2FIX(1);
|
||||
static volatile int system_working = 1;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
#define RUBY_VERSION "1.9.3"
|
||||
#define RUBY_RELEASE_DATE "2010-10-09"
|
||||
#define RUBY_RELEASE_DATE "2010-10-10"
|
||||
#define RUBY_PATCHLEVEL -1
|
||||
#define RUBY_BRANCH_NAME "trunk"
|
||||
|
||||
#define RUBY_RELEASE_YEAR 2010
|
||||
#define RUBY_RELEASE_MONTH 10
|
||||
#define RUBY_RELEASE_DAY 9
|
||||
#define RUBY_RELEASE_DAY 10
|
||||
|
||||
#include "ruby/version.h"
|
||||
|
||||
|
|
|
@ -684,6 +684,8 @@ extern rb_vm_t *ruby_current_vm;
|
|||
#define RUBY_VM_SET_FINALIZER_INTERRUPT(th) ((th)->interrupt_flag |= 0x04)
|
||||
#define RUBY_VM_INTERRUPTED(th) ((th)->interrupt_flag & 0x02)
|
||||
|
||||
int rb_signal_buff_size(void);
|
||||
void rb_signal_exec(rb_thread_t *th, int sig);
|
||||
void rb_threadptr_check_signal(rb_thread_t *mth);
|
||||
void rb_threadptr_signal_raise(rb_thread_t *th, int sig);
|
||||
void rb_threadptr_signal_exit(rb_thread_t *th);
|
||||
|
|
Loading…
Reference in a new issue