[ruby-cvs:71578] normal:r64486 (trunk): thread*.c: avoid unnecessary initialization for list_for_each_safe

normal at ruby-lang.org normal at ruby-lang.org
Tue Aug 21 06:34:44 JST 2018


normal	2018-08-21 06:34:44 +0900 (Tue, 21 Aug 2018)

  New Revision: 64486

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

  Log:
    thread*.c: avoid unnecessary initialization for list_for_each_safe
    
    According to r52446, it is only necessary for the current item (@i),
    not the `@nxt` parameter for list_for_each_safe.

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


More information about the ruby-cvs mailing list