summaryrefslogtreecommitdiffstats
path: root/libavutil/atomic_win32.h
Commit message (Collapse)AuthorAgeFilesLines
* msvc: Fix compilation errors due to header include order.Matthew Oliver2014-11-271-0/+1
| | | | | | | Ensures that the header include order is such that winsock2.h is always included before windows.h or that windows.h does not include winsock.h. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '7c371754fbc0dcc23bd00278b147f8095ccc5625'Michael Niedermayer2014-08-151-2/+0
|\ | | | | | | | | | | | | * commit '7c371754fbc0dcc23bd00278b147f8095ccc5625': atomic_win32: Drop unnecessary atomic.h #include Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * atomic_win32: Drop unnecessary atomic.h #includeDiego Biurrun2014-08-151-2/+0
| | | | | | | | The file does not require atomic.h. Also kills function redefinition warnings.
| * atomic: Add include guards to the implementation headersMartin Storsjö2013-03-081-0/+5
| | | | | | | | | | | | | | | | This makes them pass standalone compilation tests. Previously, they included atomic.h which included themselves again, leading to double definitions. Signed-off-by: Martin Storsjö <martin@martin.st>
* | atomic: Add include guards to the implementation headersMartin Storsjö2013-03-081-0/+5
| | | | | | | | | | | | | | | | This makes them pass standalone compilation tests. Previously, they included atomic.h which included themselves again, leading to double definitions. Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '65f1d45dcc71186ede72fff950996099d23359bd'Michael Niedermayer2013-03-081-4/+4
|/ | | | | | | | | | * commit '65f1d45dcc71186ede72fff950996099d23359bd': lavu: add support for atomic operations. Conflicts: configure Merged-by: Michael Niedermayer <michaelni@gmx.at>
* lavu: add support for atomic operations.Ronald S. Bultje2013-03-081-0/+50
These could be used for reference counting, or for keeping track of decoding progress in references in multithreaded decoders. Support is provided by gcc/msvc/suncc intrinsics, with a fallback using pthread mutexes. Signed-off-by: Anton Khirnov <anton@khirnov.net>
OpenPOWER on IntegriCloud