summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-02 01:14:14 +0000
committernormal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-04-02 01:14:14 +0000
commitcf6ec79b37a2efcd477ff76c480c570bcf17bf69 (patch)
treee21bd05a062c97c2ff91fb96485147c4909e8bda /thread.c
parent80e19902598a74d89e345dc38d5d5b67255c1abc (diff)
thread.c: comments on M:N threading [ci skip]
I may experiment with M:N threading in coming months. Often I find myself yearning for the old 1.8 days when spawning threads was really cheap for network operations. But I also like to use native blocking recv_io and accept calls for round-robin load distribution and accessing files on systems with dozens of slow rotational disks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/thread.c b/thread.c
index 705b456ccb..5d27681b40 100644
--- a/thread.c
+++ b/thread.c
@@ -20,6 +20,12 @@
model 3: Native Thread with fine grain lock
Using pthread and Ruby threads run concurrent or parallel.
+ model 4: M:N User:Native threads with Global VM lock
+ Combination of model 1 and 2
+
+ model 5: M:N User:Native thread with fine grain lock
+ Combination of model 1 and 3
+
------------------------------------------------------------------------
model 2: