Re: Multiprocessing and y4mdenoise

Linards Ticmanis <[email protected]> Wed, 27 May 2009 14:09:59 +0200
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <[email protected]>
Steven Boswell II wrote:


> Actually, that's more what I wanted -- a "thread yield" function.

POSIX 2001 has sched_yield() for this in <sched.h>, But nanosleep()ing
for 1 nanosecond (or even 0) might be more portable.

-- 
Linards Ticmanis

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com