Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-01-08Fix missing include for limits.hDale Curtis
Needed to use UINT_MAX.
2019-12-17Linux: Add a workaround for a glibc stack size issueHenrik Gramner
2019-08-14Prefer `do {} while (0);` over `while (0);`Michael Bradshaw
2019-08-08Set thread names on MacOSHenrik Gramner
2019-08-08Set thread names on Windows 10Henrik Gramner
2019-07-27Set thread names on BSDsJan Beich
2019-07-15Set thread names on LinuxEmmanuel Gil Peyrot
This is using the Linux-only prctl(PR_SET_NAME, …) call, because glibc’s pthread_setname_np() is doing exactly the same call so there is no reason to use it instead, as it isn’t any more portable. I don’t have any other OS to test this on, but if you want to add one just add an #else defined(__YOUR_OS__) before the #else in thread.h.
2019-05-04Control the stack size of spawned threadsHenrik Gramner
On some systems (e.g. Google Fuchsia) the default stack size of new threads is insufficient, resulting in crashes. On other systems the default stack size is unnecessarily large, which can waste a lot of virtual memory. By setting it to a sufficiently large fixed value we can ensure that we don't run out of stack space while keeping down memory usage.
2019-02-13Remove leading double underscores from include guard definesMartin Storsjö
A symbol starting with two leading underscores is reserved for the compiler/standard library implementation. Also remove the trailing two double underscores for consistency and symmetry.
2019-02-13Use consistent style for include guard definesMartin Storsjö
2019-02-13Use a consistent style for the terminating endif for include guardsMartin Storsjö
2019-02-08Windows: Improve pthread wrapperHenrik Gramner
* Remove the use of malloc() in pthread_create() * Make function return values match regular pthread * Fix code style issues * Simplify some code
2018-10-01Windows: Fix conflicting pthread symbol namesHenrik Gramner
2018-09-30thread: switch mutex wrappers to SRW locksJames Almer
2018-09-30threads: Inline some Windows pthreads compat wrappers in the headerJames Almer
They are all single line functions.
2018-09-27Remove HAVE_PTHREAD_H config macroHugo Beauzée-Luyssen
Since we don't want to probe for winpthreads anymore, this macro isn't usefull anymore
2018-09-26win32: Add implementation of pthread_onceDerek Buitenhuis
This function will be required to make dav1d_init threadsafe. Full erro checking support is included in this implementation, for completeness, even though dav1d_init cannot fail, and thus will ignore the return value of pthread_once. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-09-22Add & use a thread compatibility layerHugo Beauzée-Luyssen