Commit Graph
23 Commits
Author SHA1 Message Date
Patrick Pelissier 0295eea145 Rewrite the prototype of intrusive shared object
to be more clear when there is a shared pointer
and when there is not.
2018-02-26 21:38:33 +01:00
Patrick Pelissier 210e05f7fc Update copyright to 2018 2018-01-29 20:28:30 +01:00
Patrick Pelissier 11ab580b55 Do not call DEL operator if DEL operator has been disabled. 2017-11-25 22:47:15 +01:00
Patrick Pelissier 8717f0ad1a Fix issue for setting shared pointers if both dest & src
point to the same object.
2017-11-25 22:41:55 +01:00
Patrick Pelissier efe3e1778b Add some likely to some conditions 2017-11-25 22:40:23 +01:00
Patrick Pelissier 2e564088b0 Simplify the inclusion of headers. 2017-09-16 10:14:45 +02:00
Patrick Pelissier 1930bdeac1 _DEF macros checks if a global oplist is register if there is no one
given in the macro call. If it founds one, it will be it instead
of M_DEFAULT_OPLIST.
2017-09-16 08:31:22 +02:00
Patrick Pelissier 5c5fbd9bf0 Remove warnings for some compilers. 2017-08-05 19:26:50 +02:00
Patrick Pelissier 7a49348a4d Fix forgotten convertion. 2017-07-27 19:45:40 +02:00
Patrick Pelissier ad27d331a1 Remove ishared prefix from the Intrusive Shared Port
See commit on shared pointer.
2017-07-25 22:27:00 +02:00
Patrick Pelissier c567c7b848 Fix bug 2017-05-10 17:54:48 +02:00
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 1e729940c4 Fix issue in initializing an atomic_int with an int
(not supported by C11).
2017-04-08 11:03:59 +02:00
Patrick Pelissier 15e8a7b7d7 Fix error : doesn't allocate not enought memory! 2017-04-07 17:41:22 +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 f004dadcee Add _init_new for i-shared 2017-03-17 00:29:07 +01:00
Patrick Pelissier 5ff056656a Clean up shared_ptr interface:
* remove release
* add clean
2017-03-16 22:26:15 +01:00
Patrick Pelissier ea9d624050 Add oplist for i-shared oplist 2017-03-06 22:34:11 +01:00
Patrick Pelissier e338ad90b8 Reindent 2017-02-25 22:13:16 +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