731909c3a8
ported io/format code to C++
2021-06-17 08:26:46 -04:00
e53661a62c
update copyright year to 2020
2020-01-20 17:17:00 +01:00
cd00f8def5
use STL atomics
2019-04-23 13:05:31 +02:00
8f974511fe
remove extern "C"
2019-04-23 13:03:58 +02:00
37c724f61b
nodes: use C++ compiler
2019-04-22 23:43:46 +02:00
8f7c8ae71e
update copyright year to 2019
2019-01-13 00:42:39 +01:00
d35971c26c
refactor: update copyright years
2018-08-20 18:40:03 +02:00
1f16b4bf07
refactor: {sample,signal}_{put,get} -> {sample,signal}_{incref,decref}
2018-08-13 00:00:09 +02:00
97e991f4fc
refactor: fix include paths
2018-08-13 00:00:09 +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
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
3d84956b9e
shmem: small doc fixes
2017-06-14 13:32:44 +02:00
Georg Reinke
faa0763d64
shmem: add top-level function for allocating samples
2017-06-14 13:31:59 +02:00
Georg Reinke
6265c39ce2
shmem: use one region for each direction
2017-06-14 13:00:43 +02:00
Georg Reinke
6e9fab2666
remove dependency on config.h from sample.h
2017-06-08 13:53:07 +02:00
Georg Reinke
a495d97242
some doc / whitespace fixes
2017-06-08 13:01:23 +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
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
Georg Reinke
bb400b0e5c
fix include problems when linking with C++
2017-04-26 11:58:12 +02:00
Georg Reinke
5f540e58bc
even more documentation for shmem node
2017-04-17 19:00:15 +02:00
Georg Reinke
6f6e29e622
some doc fixes / additions
2017-04-16 23:00:30 +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