[ruby-cvs:71673] normal:r64581 (trunk): thread_pthread.h: rename `gvl.acquired' to `gvl.owner' and document

normal at ruby-lang.org normal at ruby-lang.org
Tue Aug 28 09:24:08 JST 2018


normal	2018-08-28 09:24:08 +0900 (Tue, 28 Aug 2018)

  New Revision: 64581

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

  Log:
    thread_pthread.h: rename `gvl.acquired' to `gvl.owner' and document
    
    `acquired' was an old boolean variable, but nowadays it is a
    rb_thread_t pointer;  "gvl.owner" seems like a more appropriate
    name.  And document the contended path including waitq, timer,
    and timer_err.

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


More information about the ruby-cvs mailing list