[vlc-devel] [Patch] Race condition in the messages dialog.

Rémi Denis-Courmont rem at videolan.org
Sun Nov 9 10:21:23 CET 2008

Le dimanche 9 novembre 2008 10:07:31 Ludovic Fauvet, vous avez écrit :
> > What race condition?
> It's more likely a non-gui thread writing to a QTextEdit. Happening
> only on master.

That's why we have a lock btween the message and UI threads.

> > What is this magic value supposed to mean?
> This value is a user-defined value to identify a custom event, it
> should be defined elsewhere with QEvent::registerEventType but this is
> not mandatory.

Whether it's mandatory, I don't like magic values coming out of nowhere.

Rémi Denis-Courmont

More information about the vlc-devel mailing list