Patrick Pelissier
af3d5cb273
Proper semantic
2018-01-05 20:46:28 +01:00
Patrick Pelissier
9200b742c5
Add iterators for priority queue.
2018-01-04 22:09:20 +01:00
Patrick Pelissier
f39c8ebaba
Fix comment
2018-01-04 22:08:08 +01:00
Patrick Pelissier
bbb1831c5f
Add missing exit(0)
2017-12-31 11:42:56 +01:00
Patrick Pelissier
ecae3d0e1e
Update doc
2017-12-31 02:10:18 +01:00
Patrick Pelissier
2d2ae8b509
Fix wrong name of constants for CLANG
V0.1.0
2017-12-30 12:20:20 +01:00
Patrick Pelissier
2c695526dd
Fix issue with stricter C++ compiler with atomic definition.
...
(It still feels strange to not be able to store 0 in an atomic unsigned long).
2017-12-30 12:17:55 +01:00
Patrick Pelissier
523fc84bd6
Fix issue with C++
2017-12-30 12:05:36 +01:00
Patrick Pelissier
e65abed8a9
Fix issue with C++
2017-12-30 12:05:25 +01:00
Patrick Pelissier
611fdd5f16
Improve coverage for variant
2017-12-30 11:58:36 +01:00
Patrick Pelissier
78cdb263bf
Fix potential data race (?)
2017-12-30 11:40:01 +01:00
Patrick Pelissier
bb867190a4
Improve coverage
2017-12-30 11:39:39 +01:00
Patrick Pelissier
1039239d6c
Add new file about how to make a release
2017-12-30 11:30:49 +01:00
Patrick Pelissier
0ab1a1661b
Add synthesis of the coverage.
2017-12-30 11:29:42 +01:00
Patrick Pelissier
57ec4514d4
Fix bug detected by scan-build
2017-12-30 10:30:49 +01:00
Patrick Pelissier
73fda748fe
Fix issue detected by scan-build
2017-12-30 10:30:36 +01:00
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