The scheduler will automatically unschedule all functions which my pointer becomes NULL. That's why the wait never "returned".


Shitlord by trade and passion. Graphics programmer at Laminar Research.
I write blog posts at feresignum.com