1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

27 commits

Author SHA1 Message Date
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
6aeef09196 shmem: unlink previously existing shmem regions (closes #139) 2018-05-07 18:03:00 +02:00
2d923ca017 shmem: add different return types for shmem_int_open 2018-05-07 15:54:27 +02:00
0017d1bcb1 refactor: change include prefix 2018-02-04 16:40:52 +01:00
3d6561097f cleanups 2017-10-16 23:08:46 +02:00
80ee8d786d refactored sample by adding more *_many() functions 2017-10-16 08:09:07 +02:00
d13b617167 shmem: simplify code with new QUEUE_SIGNALLED_POLLING mode 2017-08-30 12:37:09 +02:00
Georg Reinke
5d156e867c shmem: unmap regions lazily on closing 2017-07-28 12:23:16 +02:00
Georg Reinke
29e4facc17 adjust shmem size definitions 2017-07-28 12:23:16 +02:00
8287f049ef some refactoring 2017-07-02 23:58:56 +02:00
2ca0cdf979 fix undefined reference caused by inlined function 2017-06-17 03:15:35 +02:00
86bddfa83a shmem: whitespace cleanup
I like a bit more whitespace for readability
2017-06-15 15:07:42 +02:00
Georg Reinke
6265c39ce2 shmem: use one region for each direction 2017-06-14 13:00:43 +02:00
Georg Reinke
c5eb7c8e73 more whitespace fixes 2017-06-08 13:07:20 +02:00
Georg Reinke
2ba3c1cbe7 rework shmem interface to be "symmetric"
The notion of "VILLASnode" / "external program" is removed from the
interface. Now there's only a distiction regarding which process opened
the object first, and this is handled transparently by the functions.

This enables some new uses for the interface, for example connecting
two instances of VILLASnode or two instances of DPsim directly.
2017-06-08 12:43:24 +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
5be1853649 added GPL license to file headers 2017-04-27 12:56:43 +02:00
8104f54356 queue_signalled: do not use abbreviations for member names 2017-04-17 23:23:07 +02:00
db3d1477d1 shm node: renamed ‚cond_{in,out}‘ settings to ‚polling‘ 2017-04-15 22:46:35 +02:00
b23000e2a8 several smaller cleanups: coding-style, variable names, white spaces, intermediate variables 2017-04-15 21:29:23 +02:00
4504fcc827 added file headers with author and copyright info 2017-04-15 21:28:28 +02:00
Georg Reinke
c135451db7 shm node: use pthread_barrier for synchronizing the start 2017-04-12 23:07:30 +02:00
Georg Reinke
39d7c451fb shm node: signal the other program if one exits 2017-04-12 14:38:18 +02:00
Georg Reinke
61b10ed4f1 move more information to shared part of shmem node 2017-04-07 13:27:10 +02:00
Georg Reinke
3a7af08799 move "external" part of shmem to separate files 2017-04-07 12:57:40 +02:00