Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | w32pthreads: always use Vista+ API, drop XP support | wm4 | 2017-12-26 | 1 | -4/+0 |
| | | | | | | | | | | | This removes the XP compatibility code, and switches entirely to SWR locks, which are available starting at Windows Vista. This removes CRITICAL_SECTION use, which allows us to add PTHREAD_MUTEX_INITIALIZER, which will be useful later. Windows XP is hereby not a supported build target anymore. It was decided in a project vote that this is OK. | ||||
* | avutil: merge slice threading implementation from avcodec and avfilter | Muhammad Faiz | 2017-07-19 | 1 | -0/+259 |
Rework it to improve performance. Now mutex is not shared by workers, instead each worker has its own mutex and condition variable. This reduces lock contention between workers. Also use atomic variable for counter. The interface also allows execute to run special function on main thread, requested by Ronald. Signed-off-by: Muhammad Faiz <mfcc64@gmail.com> |