Ticket #2192 (closed bug: fixed)
Parrot_cx_scheduler_sleep is wrong in the no threads case
|Reported by:||NotFound||Owned by:||NotFound|
Parrot_cx_scheduler_sleep has a conditional compilation branch depending on PARROT_HAS_THREADS. In the non thread case it uses Parrot_sleep and Parrot_usleep, but the call to Parrot_usleep is wrong: (UINTVAL) time*1000000 should be (UINTVAL) (time*1000000).
This makes most Timer tests fail, and thus are skipped when no threads, but they should work unless te platform does not provide sleep and usleep (de we support any platform like that?).
I've created the branch NotFound/fix_sleep to test the fix.