How are parallel tests parallel in Ruby 1.9.3?

In Ruby 1.9.3, you are allowed to run several test cases at once . I'm not sure if this is a feature of the language, the miniature library, or the YARV function, so I apologize for any bad terminology.

But did they delete the GVL for this, or does it just mean that if one thread doing IO, another thread can use the CPU?

+6
source share
1 answer

The implementation does not use threads, but individual processes interact through pipes. See this presentation . Thus, GVL / GIL does not come into play.

+7
source

Source: https://habr.com/ru/post/897721/


All Articles