Skip to content

Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →

class method

Thread.start

(*untyped args) { (?) -> void } -> instance
Thread.start([args]*) {|args| block } → thread
Thread.fork([args]*) {|args| block } → thread

Basically the same as ::new. However, if class Thread is subclassed, then calling start in that subclass will not invoke the subclass’s initialize method.