mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c (rb_thread_blocking_region): fix typo in a document.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
64c35be42c
commit
c431879a68
2 changed files with 7 additions and 2 deletions
|
@ -1,6 +1,10 @@
|
|||
Tue Sep 23 17:56:44 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c (rb_thread_blocking_region): fix typo in a document.
|
||||
|
||||
Tue Sep 23 17:50:35 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* thread.c (rb_thread_blocking_region): write a document
|
||||
* thread.c (rb_thread_blocking_region): write a document.
|
||||
|
||||
Tue Sep 23 17:14:31 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
|
|
3
thread.c
3
thread.c
|
@ -952,9 +952,10 @@ rb_thread_schedule(void)
|
|||
* If another thread interrupts this thread (Thread#kill, signal deliverly,
|
||||
* VM-shutdown request, and so on), `ubf()' is called (`ubf()' means
|
||||
* "un-blocking function"). `ubf()' should interrupt `func()' execution.
|
||||
*
|
||||
* There are built-in ubfs and you can specify these ubfs.
|
||||
* However, we can not guarantee our built-in ubfs interrupt
|
||||
* your `func()' correctly. Becareful to use rb_thread_blocking_region().
|
||||
* your `func()' correctly. Be careful to use rb_thread_blocking_region().
|
||||
*
|
||||
* * RUBY_UBF_IO: ubf for IO operation
|
||||
* * RUBY_UBF_PROCESS: ubf for process operation
|
||||
|
|
Loading…
Reference in a new issue