|
|
|
|
|
by jstorimer
4859 days ago
|
|
AFAIK there is no spec. MRI is the reference implementation, but many things are experimental or intentionally unspecified. Given that MRI ships with a GIL, the only core classes that are intentionally aware of multi-threading concerns are Mutex, ConditionVariable, and Queue. |
|
What saves you most of the time is that it isn't worth switching threads too often so normally you get lucky.