• Rémi Denis-Courmont's avatar
    Remove error value from locks and condvar initialization · 50c84f60
    Rémi Denis-Courmont authored
    On Linux, these functions cannot fail. On Windows, mutexes cannot fail
    and neither can real condition varaibles (but we use events instead to
    support pre-Vista versions). In practice, the needed resources are
    allocated as part of the mutex structure and per-thread data.
    
    In any case, basically none of the call sites for those functions were
    checking for errors. It seems best to abort in case of error than to
    hit undefined behaviour. We probably do not want to clutter the tree
    with untested never used error paths.
    50c84f60
Name
Last commit
Last update
..
action.c Loading commit data...
beos_specific.cpp Loading commit data...
block.c Loading commit data...
cpu.c Loading commit data...
darwin_specific.c Loading commit data...
devices.c Loading commit data...
error.c Loading commit data...
es_format.c Loading commit data...
events.c Loading commit data...
filter_chain.c Loading commit data...
fourcc.c Loading commit data...
image.c Loading commit data...
linux_specific.c Loading commit data...
md5.c Loading commit data...
messages.c Loading commit data...
mtime.c Loading commit data...
not_specific.c Loading commit data...
objects.c Loading commit data...
pthread.c Loading commit data...
rand.c Loading commit data...
stats.c Loading commit data...
threads.c Loading commit data...
update.c Loading commit data...
update.h Loading commit data...
variables.c Loading commit data...
variables.h Loading commit data...
w32thread.c Loading commit data...
win32_specific.c Loading commit data...
xml.c Loading commit data...