[Kwintv] v4l fix

Dirk Ziegelmeier dirk at ziegelmeier.net
Sun Dec 14 21:58:34 CET 2003


I'm familiar with races and locking concepts, but I currently have no idea 
_why_ the qApp->lock() fixes the v4l plugin. All painting is now done in the 
grabber thread with the event loop waiting. But what's the difference between 
posting events (thread-safe) and copying a permanent buffer into a widget 
from the event loop? And where is a race condition in there???

Ciao,
Dirk

--
Dirk Ziegelmeier * dirk at ziegelmeier.net * http://www.ziegelmeier.net


More information about the kwintv mailing list