[ruby-cvs:60148] nobu:r52995 (trunk): use atomic operations

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Dec 9 15:48:17 JST 2015


nobu	2015-12-09 15:48:15 +0900 (Wed, 09 Dec 2015)

  New Revision: 52995

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

  Log:
    use atomic operations
    
    * regcomp.c (onig_chain_link_add): use atomic operation instead of
      mutex.
    * regint.h (ONIG_STATE_{INC,DEC}_THREAD): ditto.
    * regparse.c (PopFreeNode, node_recycle): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/common.mk
    trunk/regcomp.c
    trunk/regint.h
    trunk/regparse.c
    trunk/ruby_atomic.h


More information about the ruby-cvs mailing list