[ruby-cvs:72881] normal:r65781 (trunk): vm_trace.c (rb_postponed_job_flush): use rb_atomic_t for mask

normal at ruby-lang.org normal at ruby-lang.org
Sun Nov 18 13:34:52 JST 2018


normal	2018-11-18 13:34:52 +0900 (Sun, 18 Nov 2018)

  New Revision: 65781

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

  Log:
    vm_trace.c (rb_postponed_job_flush): use rb_atomic_t for mask
    
    ec->interrupt_mask will remain rb_atomic_t and is 32-bit on some
    64-bit systems while "unsigned long" is 64-bits.  So avoid
    mismatching lengths and stick to rb_atomic_t.

  Modified files:
    trunk/vm_trace.c


More information about the ruby-cvs mailing list