Are:
Kernel#sleep used without an argument, andThread.stopequivalent? If not, what differences are there?
i think that you are asking if calling sleep or stop within a running thread are equivalent. i would say that, yes, it's semantically the same, but they call different lowlevel functions:
stop -> rb_thread_sleep_deadly();
sleep -> rb_thread_sleep_forever();
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With