[ruby-cvs:68754] normal:r61573 (trunk): thread_pthread.c: use container_of

normal at ruby-lang.org normal at ruby-lang.org
Wed Jan 3 06:23:47 JST 2018


normal	2018-01-03 06:23:47 +0900 (Wed, 03 Jan 2018)

  New Revision: 61573

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

  Log:
    thread_pthread.c: use container_of
    
    It's easier to read this macro from ccan than open-coding pointer
    arithmetic.
    
    thread_pthread.c (ubf_wakeup_all_threads): use container_of

  Modified files:
    trunk/thread_pthread.c


More information about the ruby-cvs mailing list