[ruby-cvs:71481] normal:r64389 (trunk): thread_pthread.c: reduce ubf_timer arming for non-signal wakeups

normal at ruby-lang.org normal at ruby-lang.org
Thu Aug 16 17:26:56 JST 2018


normal	2018-08-16 17:26:56 +0900 (Thu, 16 Aug 2018)

  New Revision: 64389

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

  Log:
    thread_pthread.c: reduce ubf_timer arming for non-signal wakeups
    
    We do not need to rely on SIGVTALRM for non-sighandler wakeups.
    This will reduce spurious wakeups in cases where sigwait_fd
    is not grabbed again, soon.

  Modified files:
    trunk/process.c
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list