]> git.sesse.net Git - vlc/commit
Merge intf_Create() and intf_RunThread()
authorRémi Denis-Courmont <remi@remlab.net>
Sat, 23 May 2009 17:18:29 +0000 (20:18 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Sat, 23 May 2009 17:18:29 +0000 (20:18 +0300)
commit4a4dc6dfc23efd39f9418b8bd551671a27a8429a
treef6d4d74167883b92af0ed4b455609e05f7b00415
parent94324e9f61a5733f1f682f333001af82f733b283
Merge intf_Create() and intf_RunThread()

Interfaces do not have an event handler that would justify the
separation. Indeed, no caller did anything in-between.

Also, the "primary" reference to the interface object belongs to the
main thread because of the libvlc cleanup procedure. Therefore, the
interface thread pointer really should not be returned to the creator.
Note that this does not really fix the small race condition but it
conceals it within intf_Create() and libvlc_InternalCleanup().
include/vlc_interface.h
modules/access/vcdx/access.c
modules/control/ntservice.c
modules/control/rc.c
src/interface/interface.c
src/libvlc.c
src/libvlccore.sym