summaryrefslogtreecommitdiff
path: root/ractor.h
diff options
context:
space:
mode:
authortompng <tomoyapenguin@gmail.com>2020-10-07 17:51:19 +0900
committerKoichi Sasada <ko1@atdot.net>2020-10-12 14:20:58 +0900
commite8d03c9a2a58054221393e39f511fa76fe9b9770 (patch)
treefcfb5f4d60d91f49e5d1de13d18c2b8986f09605 /ractor.h
parentc6652f223c6103a4d4d909d6b770cdfc5d140124 (diff)
change rb_ractor_queue to ring buffer
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3642
Diffstat (limited to 'ractor.h')
-rw-r--r--ractor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ractor.h b/ractor.h
index e9acf82451..4cd89522a7 100644
--- a/ractor.h
+++ b/ractor.h
@@ -25,6 +25,7 @@ struct rb_ractor_basket {
struct rb_ractor_queue {
struct rb_ractor_basket *baskets;
+ int start;
int cnt;
int size;
};