how strong is your wish to know how the sleep code handles this?
I would disassemble the code of the method I know name and purpose of using "objdump -d" and try to follow
references to memory and/or registers.
From looking at the found function names and code insight may be found.
Can be fun.
Cal