]> git.sesse.net Git - vlc/commit
* ./src/misc/variables.c: callback loops are now detected; this means you
authorSam Hocevar <sam@videolan.org>
Thu, 17 Oct 2002 13:15:31 +0000 (13:15 +0000)
committerSam Hocevar <sam@videolan.org>
Thu, 17 Oct 2002 13:15:31 +0000 (13:15 +0000)
commitce7d29b21e28c0e54b778f1f1f4db3e134b1cfd5
tree549ce162ae8054b2e9f377f2ff48f0b8b79893e2
parentcea09ed8937f80a5c8a52b9b4b345cf84b314dbc
  * ./src/misc/variables.c: callback loops are now detected; this means you
    can now use var_* functions from within your callback, they can even
    trigger callback themselves, to any level. The main restriction is that
    you shouldn't meddle with a variable that is already being triggered by
    the current thread (other threads will just wait).
  * ./src/misc/objects.c: fixed a deadlock in the "tree" command.
  * ./modules/misc/testsuite/test4.c: added a "callback-test" command to the
    rc interface to test callback loop detection and concurrent triggers.
include/variables.h
include/vlc/vlc.h
modules/misc/testsuite/test4.c
src/misc/error.c
src/misc/objects.c
src/misc/variables.c