2 ms·
the idiom for giving up the processor is 'yield' Back in the old 8-bit days we called it “sleep” since you were telling the scheduler if you needed to come bac
by joezydeco 6y ago
the idiom for giving up the processor is 'yield'
Back in the old 8-bit days we called it “sleep” since you were telling the scheduler if you needed to come back ASAP (i.e. sleep(0)) or N number of microseconds in the future.