da8124e472
memory: use hash_table to store allocation metadata
2018-07-02 19:00:55 +02:00
bb70be0b2c
memory: refactored memory subsystem
2018-07-02 15:57:56 +02:00
0017d1bcb1
refactor: change include prefix
2018-02-04 16:40:52 +01:00
702dc34052
c++: add proper casts from void *
2017-10-20 11:54:00 +02:00
f569f14602
fix: several compiler warnings / errors emitted by clang
2017-07-25 12:07:05 +02:00
Georg Reinke
b21a017cc2
properly define atomic state for queue
2017-05-15 14:04:15 +02:00
Georg Reinke
292e846bf8
Revert "use proper enum type for atomic state"
...
This reverts commit 44669a748d
.
2017-05-15 13:45:37 +02:00
44669a748d
use proper enum type for atomic state
2017-05-14 11:36:14 +02:00
e95b562c71
improve readability
2017-05-14 11:35:49 +02:00
Georg Reinke
1b61d55cab
add close methods for queue and use them for shmem
2017-05-12 13:12:42 +02:00
49054eef9f
cleanup: removed trailing whitespaces in code
2017-05-05 19:24:16 +00:00
Georg Reinke
ee809bd5c9
Merge branch 'develop' into node-shm
2017-04-06 12:12:56 +02:00
Georg Reinke
5e850090cf
small cosmetic changes
2017-04-04 11:46:27 +02:00
Georg Reinke
589d50a55a
also make pointers stored in a queue relative
2017-04-04 11:37:46 +02:00
3d46a3d344
fix some aborts due to destruction of uninitialised objects
2017-04-02 04:56:08 +02:00
a256417417
Merge branch 'memtype-managed' into develop
2017-03-31 18:28:19 +02:00
Georg Reinke
08a60dcaca
make pointers in pool and queue relative
...
This is necessary for the new shared memory node, since these structs
may be stored in the shared memory area which is in general mapped to
different virtual addresses in the different processes.
2017-03-31 10:51:13 +02:00
Georg Reinke
fee29436b0
implement managed memtype
2017-03-27 13:22:54 +02:00
cc8984e2d0
assert instead of run-time errors
2017-03-12 17:04:43 -03:00
cdd5a2ca90
refactoring: unified states of common objects: nodes, paths, node-types, plugins, hooks, etc..
2017-03-11 23:50:30 -03:00
429c07f1e3
add little FSM to pool, web, api, queue to track state of initialisation
2017-03-06 13:26:23 -04:00
3e7c855526
updated licence and copyright info in file headers
2017-03-03 20:20:13 -04:00
Umar Farooq
66d184589b
Ceil queue size to power of 2
2016-12-22 19:24:37 +01:00
d0c72c06ea
added missing include for LOG2_CEIL()
2016-10-30 16:52:11 -04:00
893c723385
readded check for correct queue size (accidentally removed)
2016-10-30 15:39:05 -04:00
fb30c16d2b
improved check for correct queue length
2016-10-30 15:21:46 -04:00
Umar Farooq
8d7e0074ad
Initial test and addition of queue síze fix
2016-10-27 17:47:13 +02:00
3839262d8d
mpmc_queue => queue
2016-10-20 08:36:49 -04:00
ba399a0b1d
fixed compilation: functionality still heavily broken. its a mess right now
2016-09-22 21:20:21 -04:00
d0dc7e216e
replaced old queue with new MPMC implementation
2016-09-13 22:54:36 -04:00
ad8ee1c3f7
renamed S2SS to VILLASnode
2016-06-08 23:31:58 +02:00
7820e66cee
added new circular buffer queue data structure
2016-06-08 22:26:12 +02:00