int3/doppio — pull request #224 by bmcdorman (2013-06-16 03:30:44+00:00)
Title: Added support for park() and unpark() in sun.misc.Unsafe

I'm currently using two variables for each thread ($park_count and $park_timeout) to store the thread's park state. The only thing I'm uncertain about is the placement of the unpark_expired() call in choose_next_thread(). If that needs to be moved, let me know where.