1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Expose atomic operation macros with RUBY prefix

Now we need atomic operations, which are lighter than mutex, more
widely for extension libraries because of Ractor.
This commit is contained in:
Nobuyoshi Nakada 2020-12-23 14:09:28 +09:00
parent f755926ddd
commit 6ed6b85ece
Notes: git 2020-12-24 11:43:50 +09:00
6 changed files with 297 additions and 235 deletions

View file

@ -10,6 +10,7 @@
* modify this file, provided that the conditions mentioned in the
* file COPYING are met. Consult the file for details.
*/
#define HAVE_RUBY_ATOMIC_H 1
#define HAVE_RUBY_DEBUG_H 1
#define HAVE_RUBY_DEFINES_H 1
#define HAVE_RUBY_ENCODING_H 1