Patrick Pelissier
cc149e6ea6
Fix issue detected by scan-build
2017-12-30 10:23:07 +01:00
Patrick Pelissier
ba920d706a
Fix parsing of variant
2017-12-30 10:11:14 +01:00
Patrick Pelissier
2c6f37aa5f
Add QUEUE MPMC contract.
2017-12-30 01:27:22 +01:00
Patrick Pelissier
d2eacaf0f6
Remove WIP file.
2017-12-29 22:43:59 +01:00
Patrick Pelissier
2e5ca1cc1f
Fix issue when atomic_store is called with atomic_load and
...
there was locks.
the lock taking of atomic_load was performed within the lock
of atomic_store, performing a dead lock.
Fix this by perfoming an evaluation of val before setting
it in atomic_store.
2017-12-28 13:55:13 +01:00
Patrick Pelissier
217c31d6a7
Optimization for the atomic layer with locks:
...
do not perform any lock for amd64 (and x86) architecture
if the word length is less than 8 bytes (or 4 bytes)
as the targeted architecture support it directly.
(strong order)
2017-12-28 13:37:37 +01:00
Patrick Pelissier
985870452c
Remove field _cmp
2017-12-28 12:00:37 +01:00
Patrick Pelissier
a74605088e
Fix issue in case of atomic types being with lock
...
(const atomic_ type is invalid).
2017-12-28 12:00:03 +01:00
Patrick Pelissier
27352d5aca
Update doc
2017-12-28 11:38:32 +01:00
Patrick Pelissier
998f97a95d
Fix doc
2017-12-28 00:36:54 +01:00
Patrick Pelissier
f2344c69ca
Rename worker_block_t into worker_sync_t
...
as it is a synchronization point for workers
not an anonymous block.
2017-12-28 00:03:47 +01:00
Patrick Pelissier
adc7545a42
Rename internal macros to use _USE_ as it can be modified
...
by the user.
2017-12-28 00:01:07 +01:00
Patrick Pelissier
66eff4eb44
Update comments
2017-12-27 23:59:29 +01:00
Patrick Pelissier
31820e7a5d
Fix data race
2017-12-25 23:35:04 +01:00
Patrick Pelissier
b4cf464e98
Fix data race.
2017-12-25 01:20:58 +01:00
Patrick Pelissier
602cc63c96
Update assert
2017-12-24 22:36:34 +01:00
Patrick Pelissier
691653c13e
Remove some unused interface.
2017-12-24 22:30:07 +01:00
Patrick Pelissier
6e88c54244
Simplify the interface
2017-12-24 22:29:32 +01:00
Patrick Pelissier
840d5122b5
Move to lower case for booleans
2017-12-24 22:24:07 +01:00
Patrick Pelissier
14ffffbc7f
Add new internal macros
2017-12-24 22:23:51 +01:00
Patrick Pelissier
12709cc81b
Add new default oplist : M_A1_OPLIST
2017-12-24 14:05:38 +01:00
Patrick Pelissier
4c21c504e5
Proper encapsulation of the color attribute.
2017-12-24 11:19:47 +01:00
Patrick Pelissier
c08504863c
Simplify fgets to avoid using strchr (faster & simpler)
...
Simplify fgets to avoid using strchr (faster & simpler)
Simplify fgets to avoid using strchr (faster & simpler)
2017-12-23 00:39:11 +01:00
Patrick Pelissier
4b37ab93b7
Add some comments to better explain the source.
2017-12-23 00:03:34 +01:00
Patrick Pelissier
cbcb5e24d8
Update / cleanup comments
2017-12-17 20:12:48 +01:00
Patrick Pelissier
ae93fc85c7
Remove broken code.
2017-12-17 10:05:25 +01:00
Patrick Pelissier
8aa3c86ce9
Add support of C++ for workers.
2017-12-16 20:54:17 +01:00
Patrick Pelissier
9020baf364
Add option to disable worker.
2017-12-16 18:48:18 +01:00
Patrick Pelissier
4ae6e92631
Do not launch the worker macro test if clang isn't compiled with block
2017-12-16 18:36:27 +01:00
Patrick Pelissier
43f371b32e
Remove warnings.
2017-12-16 18:29:07 +01:00
Patrick Pelissier
1efd7e84a7
Remove some warnings about uninitilized fields with CLANG.
2017-12-16 18:24:17 +01:00
Patrick Pelissier
e2e902552e
Fix warning with GCC.
2017-12-16 17:53:39 +01:00
Patrick Pelissier
48036ace19
Add new test.
2017-12-16 17:51:58 +01:00
Patrick Pelissier
349a2931d3
Merge branch 'utf8'
2017-12-13 21:58:33 +01:00
Patrick Pelissier
eae0a3833a
Add separation
2017-12-13 21:57:24 +01:00
Patrick Pelissier
3296c5313c
Add more tests.
2017-12-13 21:56:41 +01:00
Patrick Pelissier
6d3d2c9eac
Update doc
2017-12-13 21:52:25 +01:00
Patrick Pelissier
cc30ecebfc
Fix tests.
2017-12-13 21:51:16 +01:00
Patrick Pelissier
48828f085b
Add comment
2017-12-13 21:43:27 +01:00
Patrick Pelissier
df73de9e10
Add comments.
2017-12-13 21:41:42 +01:00
Patrick Pelissier
ca3ea0ad47
Add support for coverage.
2017-12-13 20:21:52 +01:00
Patrick Pelissier
b834bab635
Add more tests.
2017-12-13 20:04:06 +01:00
Patrick Pelissier
cf0b897668
Update doc
2017-12-12 22:08:05 +01:00
Patrick Pelissier
8d00986de1
Update doc
2017-12-12 22:06:23 +01:00
Patrick Pelissier
1d15adcef8
Update
2017-12-12 21:57:59 +01:00
Patrick Pelissier
179df4bda5
Add priority queue based on binary heap
2017-12-12 21:55:19 +01:00
Patrick Pelissier
a24464cfed
Return size of the encoding (in case of)
2017-12-09 18:11:58 +01:00
Patrick Pelissier
c4447123f3
Add more tests
2017-12-09 18:11:49 +01:00
Patrick Pelissier
ca5263b488
Update comments
2017-12-09 16:57:55 +01:00
Patrick Pelissier
873e1710c9
Add tests
2017-12-09 16:54:11 +01:00