summaryrefslogtreecommitdiffstats
path: root/libavutil/atomic_gcc.h
Commit message (Collapse)AuthorAgeFilesLines
* atomic: fix CAS with armcc.Anton Khirnov2013-03-091-0/+8
| | | | | | On the current code, armcc will fail with: "libavutil/atomic_gcc.h", line 52: Error: #2771: first argument must be a pointer to integer or enumeration type
* 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>
* lavu: add support for atomic operations.Ronald S. Bultje2013-03-081-0/+48
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