[vlc-devel] request for review: add callback variable to interfaces to know?when to shutdown

Ilkka Ollakka ilkka.ollakka+vlc at oamk.fi
Sun Oct 12 21:46:27 CEST 2008

On su 12. lokakuuta 2008 22:00:13, Rémi Denis-Courmont wrote:
> IMHO, the interface should simply exit when Close() is called. It does not 
> need yet another abuse of the variables subsystem. The interface can start 
> its thread(s) manually from Open(). This should anyway be done if the 
> interface needs to wait for its thread initialization. I believe Qt4 should 
> do that, to ensure that dialogs and vout windows are not invoked while the 
> interface is still initializing.
> Inside Close(), the interface can notify its thread in any convenient 
> interface-specific way. For instance, a Qt4 signal can be emitted.
 Yes, I tought that would be the best way to go, but for some reason I
 didn't get it working in Close() properly (thou I'm thinking of trying
 it again if it should work that way).

Ilkka Ollakka
"Saw a sign on a restaurant that said Breakfast, any time -- so I
ordered French Toast in the Renaissance.
		-- Steven Wright
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20081012/fc68e4da/attachment.sig>

More information about the vlc-devel mailing list