src: darwin/thread: reimplement monotonic clock for darwin
authorDavid Fuhrmann <david.fuhrmann@googlemail.com>
Tue, 31 Dec 2013 10:41:55 +0000 (11:41 +0100)
committerDavid Fuhrmann <david.fuhrmann@googlemail.com>
Tue, 7 Jan 2014 08:49:56 +0000 (09:49 +0100)
commit15a85cc6cc73e8ca885bac7e72a3c22ae32ad54b
treefe835617d28dcc8a6babbcc8a04fee1ea8734eb7
parent28102b7cb60dc9338a98bc385379e8691c129eba
src: darwin/thread: reimplement monotonic clock for darwin

This is based on code which was silently removed in
0f9a94f2183fc6c6e9ce8b77eb497aab160cbbbd and
45c2bc0811cc2d9fe8e11448a05742d7ff6da1d8.

The patch solves timing issues if the user changes the system time, for
instance while playback.

Another timing issue was pointed out if vlc_cond_init_with_daytime is used.
This remains unfixed, and is documented in a Fixme.

close #10072
include/vlc_threads.h
src/darwin/thread.c