summaryrefslogtreecommitdiff
path: root/compat/w32pthreads.h
Commit message (Collapse)AuthorAge
* Revert "w32pthread: help compiler figure out undeeded code"Martin Storsjö2013-08-27
| | | | | | | | | | This reverts commit 4622f11f9c83db8a2e08408c71ff901826ca652c. The compiler should be able to do the dead code elimination now without this when the cond_* names point directly to the real functions instead of to local function pointers. Signed-off-by: Martin Storsjö <martin@martin.st>
* w32threads: Don't use function pointers when linking directly to newer APIsMartin Storsjö2013-08-27
| | | | | | | | | | | | This reduces the call overhead slightly. More noticeably, it restores the earlier (unintended?) feature that condition variable functions work just fine even if w32thread_init() hasn't been called. This was broken as a side effect of 4622f11f9, if explicitly targeting Vista+. This makes w32threading work in VP8 again, if targeting Vista+. Signed-off-by: Martin Storsjö <martin@martin.st>
* w32pthread: help compiler figure out undeeded codeRafaël Carré2013-08-21
| | | | | | | | The emulation code is not needed when targetting Vista+ This helps getting rid of CreateSemaphore symbol, which is forbidden in Windows Store apps. Signed-off-by: Martin Storsjö <martin@martin.st>
* Employ consistent LIBAV_COMPAT_ multiple inclusion guards in compat/Diego Biurrun2013-07-18
| | | | Also fix a comment and an #endif comment.
* w32pthreads: move from lavc to compat/Anton Khirnov2013-05-24
It will be used in other places than lavc.