summaryrefslogtreecommitdiff
path: root/yarvcore.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:41:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:41:41 +0000
commitf425798fdaca165c200091faf976c3cf9a52637d (patch)
tree1fa87d50ae9b1e650f40339023cd65f377f2d243 /yarvcore.h
parent5374de14e34fcd5354289830ab7f2212884bc4f5 (diff)
* intern.h (rb_thread_blocking_region): add prototype.
* thread.c (BLOCKING_REGION): restore previous UBF. * thread.c (rb_thread_blocking_region): default UBF to interrupt in system dependent way by RB_UBF_DFL. + ubf_select() on posix system + ubf_handle() on Win32 + none on cygwin git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'yarvcore.h')
-rw-r--r--yarvcore.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/yarvcore.h b/yarvcore.h
index b03e7f0fb2c..f755e21790e 100644
--- a/yarvcore.h
+++ b/yarvcore.h
@@ -304,8 +304,6 @@ typedef struct rb_iseq_struct rb_iseq_t;
#define GetVMPtr(obj, ptr) \
Data_Get_Struct(obj, rb_vm_t, ptr)
-struct rb_thread_struct;
-
typedef struct rb_vm_struct {
VALUE self;
@@ -379,12 +377,10 @@ struct rb_vm_tag {
struct rb_vm_tag *prev;
};
-typedef void rb_unblock_function_t(struct rb_thread_struct *);
-
#define RUBY_VM_VALUE_CACHE_SIZE 0x1000
#define USE_VALUE_CACHE 1
-typedef struct rb_thread_struct
+struct rb_thread_struct
{
VALUE self;
rb_vm_t *vm;
@@ -459,7 +455,7 @@ typedef struct rb_thread_struct
/* misc */
int method_missing_reason;
int abort_on_exception;
-} rb_thread_t;
+};
/** node -> yarv instruction sequence object */
VALUE rb_iseq_compile(VALUE self, NODE *node);