mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/intern.h (rb_thread_blocking_region): Added
a comment of recommended alternative way. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
149176225a
commit
5dbbee86b6
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Sun Sep 9 18:39:46 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* include/ruby/intern.h (rb_thread_blocking_region): Added
|
||||
a comment of recommended alternative way.
|
||||
|
||||
Sun Sep 9 18:37:05 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* lib/sync.rb (Sync_m): Removed RCS_ID.
|
||||
|
|
|
@ -818,6 +818,8 @@ typedef void rb_unblock_function_t(void *);
|
|||
typedef VALUE rb_blocking_function_t(void *);
|
||||
void rb_thread_check_ints(void);
|
||||
int rb_thread_interrupted(VALUE thval);
|
||||
|
||||
/* Use rb_thread_call_without_gvl family instead. */
|
||||
DEPRECATED(VALUE rb_thread_blocking_region(rb_blocking_function_t *func, void *data1,
|
||||
rb_unblock_function_t *ubf, void *data2));
|
||||
#define RUBY_UBF_IO ((rb_unblock_function_t *)-1)
|
||||
|
|
Loading…
Add table
Reference in a new issue