Skip to content

Commit

Permalink
* internal.h: move rb_thread_io_blocking_region() declaration
Browse files Browse the repository at this point in the history
  from intern.h to internal.h. It's still experimental API and
  need more discussion.
* include/ruby/intern.h: ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
kosaki committed Jun 21, 2011
1 parent cb138bb commit 97beed0
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Tue Jun 21 19:56:07 2011 KOSAKI Motohiro <[email protected]>

* internal.h: move rb_thread_io_blocking_region() declaration
from intern.h to internal.h. It's still experimental API and
need more discussion.
* include/ruby/intern.h: ditto.

Tue Jun 21 19:46:23 2011 KOSAKI Motohiro <[email protected]>

* test/ruby/test_thread.rb (TestThread#test_priority): enable
1 change: 0 additions & 1 deletion include/ruby/intern.h
Original file line number Diff line number Diff line change
@@ -806,7 +806,6 @@ void rb_thread_check_ints(void);
int rb_thread_interrupted(VALUE thval);
VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
rb_unblock_function_t *ubf, void *data2);
VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd);
#define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
#define RUBY_UBF_PROCESS ((rb_unblock_function_t *)-1)
VALUE rb_mutex_new(void);
1 change: 1 addition & 0 deletions internal.h
Original file line number Diff line number Diff line change
@@ -159,6 +159,7 @@ void *rb_thread_call_with_gvl(void *(*func)(void *), void *data1);
void rb_clear_trace_func(void);
VALUE rb_thread_backtrace(VALUE thval);
VALUE rb_get_coverages(void);
VALUE rb_thread_io_blocking_region(rb_blocking_function_t *func, void *data1, int fd);

/* thread_pthread.c, thread_win32.c */
void Init_native_thread(void);

0 comments on commit 97beed0

Please sign in to comment.