Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- libgo/runtime/yield.c Thu Oct 27 01:21:38 2011
- +++ libgo/runtime/yield.c Thu Oct 27 13:58:11 2011
- @@ -38,7 +38,11 @@
- void
- runtime_osyield (void)
- {
- +#if defined (sun)
- + sched_yield ();
- +#else
- pthread_yield ();
- +#endif
- }
- /* Sleep for some number of microseconds. */
Add Comment
Please, Sign In to add comment