[ruby-cvs:64644] ko1:r57478 (trunk): define rb_thread_sleep_deadly_allow_spurious_wakeup().

ko1 at ruby-lang.org ko1 at ruby-lang.org
Tue Jan 31 15:39:01 JST 2017


ko1	2017-01-31 15:39:01 +0900 (Tue, 31 Jan 2017)

  New Revision: 57478

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=57478

  Log:
    define rb_thread_sleep_deadly_allow_spurious_wakeup().
    
    * thread.c, thread_sync.c: define new function
      rb_thread_sleep_deadly_allow_spurious_wakeup() and use it instead of
      using sleep_forever() directly.

  Modified files:
    trunk/thread.c
    trunk/thread_sync.c


More information about the ruby-cvs mailing list