diff options
| author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-20 10:47:53 +0000 |
|---|---|---|
| committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-11-20 10:47:53 +0000 |
| commit | 9f06a9618a54a2117759537573de77a6a58c57ea (patch) | |
| tree | 329d42bdbd0d45463caf6b6f3c67c9443f9153be /include/ruby/intern.h | |
| parent | abc2a8b24620d2e355d72e540a9c5a33dd6ca912 (diff) | |
| download | ruby-9f06a9618a54a2117759537573de77a6a58c57ea.tar.gz ruby-9f06a9618a54a2117759537573de77a6a58c57ea.tar.xz ruby-9f06a9618a54a2117759537573de77a6a58c57ea.zip | |
* gc.h, vm_core.h: decl of rb_gc_save_machine_context()
should be at vm_core.h.
* include/ruby/ruby.h, intern.h: remove type rb_thread_t.
* include/ruby/intern.h: change rb_unblock_function_t,
rb_unblock_function_t.
* file.c, process.c: apply above changes.
* thread.c, thread_pthread.ci, thread_win32.ci: ditto.
* io.c: support blocking open (2). [ruby-core:13614]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@13984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'include/ruby/intern.h')
| -rw-r--r-- | include/ruby/intern.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/ruby/intern.h b/include/ruby/intern.h index ca6937a42..dbb9a9b07 100644 --- a/include/ruby/intern.h +++ b/include/ruby/intern.h @@ -543,9 +543,8 @@ VALUE rb_struct_iv_get(VALUE, const char*); VALUE rb_struct_s_members(VALUE); VALUE rb_struct_members(VALUE); /* thread.c */ -typedef struct rb_thread_struct rb_thread_t; -typedef void rb_unblock_function_t(rb_thread_t *, void *); -typedef VALUE rb_blocking_function_t(rb_thread_t *th, void *); +typedef void rb_unblock_function_t(void *); +typedef VALUE rb_blocking_function_t(void *); VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1, rb_unblock_function_t *ubf, void *data2); #define RB_UBF_DFL ((rb_unblock_function_t *)-1) |
