Commit Graph

469 Commits

Author SHA1 Message Date
daan 50de0d2358 fix C++ compilation with new atomics 2020-09-05 09:17:42 -07:00
daan f107acb3c8 fix __cplusplus test (pr #287) 2020-09-04 10:40:05 -07:00
daan 900c97664a merge from dev-atomic 2020-09-03 09:47:01 -07:00
daan 76a68cd7af bump version to 1.6.6 with new atomics 2020-09-03 09:45:53 -07:00
daan b4825372ab small compilation warning fixes (extra semicolon etc) 2020-08-29 19:30:38 -07:00
daan 8033b62979 allow overriding MI_MAX_ALIGN_SIZE 2020-08-29 09:59:15 -07:00
daan 5805c39916 enable --std=c99 compilation; fix mingw compilation 2020-08-09 17:55:17 -07:00
daan ac0c121c68 update documentation for 1.6.4 release 2020-07-27 08:55:26 -07:00
daan ef8e5d18a6 replace atomics with C11/C++ atomics with explicit memory order; passes tsan. Issue #130 2020-07-26 18:01:33 -07:00
daan a468430772 strengthen memory order of bit operations; insert memory fences 2020-07-26 14:19:30 -07:00
daan a9f46dc86f reduce memory order constraints for better efficiency on ARM etc 2020-07-26 11:58:02 -07:00
daan ebf951e851 extra checks for atomic ptr exchange; extend mi_atomic_yield for win32 2020-07-26 00:15:57 -07:00
daan 95afd0509f make segment abandoned_next atomic; tsan passes without warnings now (issue #130) 2020-07-25 23:50:22 -07:00
daan 09ade02429 bring inline with C11 atomics; no volatile and cas order of expected/desired 2020-07-25 22:52:27 -07:00
daan e27422adca switch to using C++ atomics in MSVC as well 2020-07-25 20:55:45 -07:00
daan afe29cb8f5 fix ub on shift, issue #279 2020-07-25 19:33:02 -07:00
daan a9a21f39d8 fix memory order for CAS failure, issue #130 2020-07-23 15:52:02 -07:00
daan b74caddcc1 fix memory order to acq_rel for atomic and/or, issue #130, thanks @mpoeter! 2020-07-23 15:00:49 -07:00
daan 8aa18d3661 fix TSAN warning for statistics maximum, issue #130 2020-07-22 14:16:18 -07:00
daan 444afa934f fix memory order for weak CAS, issue #130, thanks @mary3000! 2020-07-22 13:58:00 -07:00
daan 2e1b4f512d make max update in the stats atomic 2020-07-22 13:45:04 -07:00
daan c5406f327e move include 'limits.h' outside of definition 2020-07-21 18:51:25 -07:00
David Carlier 0c550d1626 illumos support/build fix and large page support 2020-07-10 03:26:14 +01:00
Haneef Mubarak 4c45793ec1 fix __movsb typecast error MSVC 2020-05-26 16:16:19 -07:00
Haneef Mubarak 6c92690914 fix REP MOVSB doc comment typo 2020-05-26 16:08:33 -07:00