pouët.net

Go to bottom

Threads (CPU not BBS)!

category: code [glöplog]
i spinlock in case some new work arrives, but once a frame i put all worker threads to sleep by waiting for an event. that event would be the first batch of work from the next frame. this is the gentle way to do it, worth that millisecond it might cost.

added on the 2010-03-28 01:50:05 by chaos chaos
Yay. Everything done and working.
added on the 2010-03-28 04:28:57 by xernobyl xernobyl

login

Go to top