Patrick Pelissier
72c5c3f371
Replace stdatomic.h (C11 standard compliant header) by a custom one
...
to increase C++ compatibility as stdatomic.h doesn't work in C++!
(I would like to thanks the one(s) who thought it was a good idea
***not*** to include stdatomic.h -and thread.h- in the C++ standard!)
2017-04-13 21:50:16 +02:00
Patrick Pelissier
6e19864d44
Fix wrong strict usage of atomic (missing atomic_init & atomic_load).
2017-04-08 11:09:06 +02:00
Patrick Pelissier
ebf24d41cf
Export back NEW / DEL / REALLOC of oplist to container oplist
2017-03-30 20:57:44 +02:00
Patrick Pelissier
2ade0805e7
Fix issue with clang 4.
2017-03-18 14:22:19 +01:00
Patrick Pelissier
5ff056656a
Clean up shared_ptr interface:
...
* remove release
* add clean
2017-03-16 22:26:15 +01:00
Patrick Pelissier
50163118f4
Rewrite unique slot detection to be standard compliant.
2017-03-16 00:14:14 +01:00
Patrick Pelissier
ba37d183a7
Only one alloc per init_new.
2017-03-15 22:06:50 +01:00
Patrick Pelissier
de7d0bd682
Add _init_new operation for shared_ptr
2017-03-15 00:17:41 +01:00
Patrick Pelissier
7118da65ae
Add SWAP for m-shared
2017-03-14 21:43:52 +01:00
Patrick Pelissier
9c7fcc6659
Reformat comment
2017-03-13 23:19:20 +01:00
Patrick Pelissier
29e01a9e2d
Add oplist for oplist of shared pointer
...
Fix issue in case of memory full of shared_pointer with no throw mechanism.
2017-03-06 22:45:15 +01:00
Patrick Pelissier
4d019ca1f2
Update library name in headers.
2017-02-20 21:29:21 +01:00
Patrick Pelissier
cb433aa2a8
Rename macros:
...
* CAT* --> M_C*
2017-02-19 00:36:42 +01:00
Patrick Pelissier
8e9d20ba1a
Add initial stuff
2017-02-18 18:51:04 +01:00