summaryrefslogtreecommitdiffstats
path: root/test/unit/atomic.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix MinGW-related portability issues.Jason Evans2015-07-231-6/+6
| | | | | | | | | | | | | Create and use FMT* macros that are equivalent to the PRI* macros that inttypes.h defines. This allows uniform use of the Unix-specific format specifiers, e.g. "%zu", as well as avoiding Windows-specific definitions of e.g. PRIu64. Add ffs()/ffsl() support for compiling with gcc. Extract compatibility definitions of ENOENT, EINVAL, EAGAIN, EPERM, ENOMEM, and ENORANGE into include/msvc_compat/windows_extra.h and use the file for tests as well as for core jemalloc code.
* Fix more MinGW build warnings.Jason Evans2015-07-181-1/+1
|
* Implement more atomic operations.Jason Evans2015-02-051-30/+55
| | | | | | - atomic_*_p(). - atomic_cas_*(). - atomic_write_*().
* Add atomic operations tests and fix latent bugs.Jason Evans2014-08-071-0/+97