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

2613 commits

Author SHA1 Message Date
86ec387b9a smaller fixes for websocket message code 2017-04-24 14:19:12 +02:00
8c4f291fd9 changed byte-order for websocket messages to little-endian 2017-04-24 13:25:30 +02:00
a3222da312 adapted socket node-type to support new packet format 2017-04-23 22:13:29 +02:00
d6f2697e1b added new helper functions to convert struct msg between network and host byte-order 2017-04-23 22:13:28 +02:00
122ba0f0f5 Merge branch 'node-shm' into develop 2017-04-18 01:50:12 +02:00
3d26464ee7 fix buffer overflow in web_buffer 2017-04-18 01:38:53 +02:00
a81d1fc8de Merge branch 'develop' into node-shm 2017-04-17 23:54:44 +02:00
a5aa5d0e14 queue_signalled: add some missing functions from queue 2017-04-17 23:23:07 +02:00
8104f54356 queue_signalled: do not use abbreviations for member names 2017-04-17 23:23:07 +02:00
bb547ffaf8 queue_signalled: pthread attributes only need to exist during initialisation of their belonging objects
See: http://stackoverflow.com/questions/11062292/are-pthread-attribute-objects-required-to-exist-for-the-lifetime-of-the-object-t
2017-04-17 23:23:07 +02:00
Georg Reinke
5f540e58bc even more documentation for shmem node 2017-04-17 19:00:15 +02:00
48ad4f9a56 refactoring: added DEFAULT_WEBSOCKET_{SAMPLE,QUEUE}LEN (like for shmem node-type) 2017-04-15 22:50:37 +02:00
cee5575861 shm node: use similar settings as for paths: {in,out}size => queuelen, sample_values => samplelen 2017-04-15 22:47:24 +02:00
61d42c342d refactoring: DEFAULT_VALUES => DEFAULT_SAMPLELEN 2017-04-15 22:46:42 +02:00
374f5bb557 shm node: fixed bug introduced by previous refactoring 2017-04-15 22:46:42 +02:00
db3d1477d1 shm node: renamed ‚cond_{in,out}‘ settings to ‚polling‘ 2017-04-15 22:46:35 +02:00
cc7ef95026 split library Makefile for libvillas and libvillas-ext 2017-04-15 21:44:25 +02:00
2d71d606ce shm node: fix compiler / build-system errors 2017-04-15 21:30:37 +02:00
4b9d62fd3e shm node: changed description of node-type 2017-04-15 21:29:35 +02:00
f8713bb098 shm node: this node-type should work with ‚vectors‘ of samples too 2017-04-15 21:29:35 +02:00
ea6556bc8d shm node: add ‚exec‘ setting to shmem_print() 2017-04-15 21:29:34 +02:00
d4ddad603b changed signature of spawn() 2017-04-15 21:29:34 +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
025713a46e don't link libext against any external libraries 2017-04-15 20:38:58 +02:00
Georg Reinke
3c48b4f557 new "libext" library for external programs using shmem 2017-04-15 15:38:37 +02:00
Georg Reinke
766097f83f fix crashes in hook and path 2017-04-12 23:13:02 +02:00
Georg Reinke
c135451db7 shm node: use pthread_barrier for synchronizing the start 2017-04-12 23:07:30 +02:00
Georg Reinke
385efa1313 shm node: add option to spawn external program on start 2017-04-12 17:07:59 +02:00
Georg Reinke
39d7c451fb shm node: signal the other program if one exits 2017-04-12 14:38:18 +02:00
056cbbfe89 added missing web and api source files 2017-04-10 13:30:51 +02:00
71bb3fb4d8 Merge branch 'develop' of git.rwth-aachen.de:VILLASframework/VILLASnode into develop 2017-04-10 13:25:32 +02:00
Georg Reinke
1365f9d026 queue_signalled: handle cancellation while waiting correctly 2017-04-10 11:39:35 +02:00
580189b678 refactor: api_ressource => api_action and introduced new subdirectories 2017-04-09 16:24:55 +02:00
5c6188ccc2 refactoring: moved api_session to api/session 2017-04-09 16:23:23 +02:00
6b8b9e5c1f refactor: move api_buffer to web/buffer 2017-04-09 16:20:39 +02:00
44ea4a160e add some more functions for sample reference counting 2017-04-07 17:46:50 +02:00
47bff0f9ba fixed several bugs in the new state machine logic 2017-04-07 17:44:20 +02:00
96190a5822 Run libwebsockets in a worker thread 2017-04-07 17:39:37 +02:00
053b43fb9f change function signature of node_type_start() 2017-04-07 17:32:52 +02:00
31c1a50449 support older libcurl versions (< 7.42.0) (fixes #86) 2017-04-07 14:51:39 +00: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
Georg Reinke
45f5d9697a use queue_signalled for websocket node 2017-04-07 12:25:17 +02:00
Georg Reinke
c7e241cb2b new wrapper struct around queue with POSIX CV's 2017-04-07 12:18:08 +02:00
Georg Reinke
ee809bd5c9 Merge branch 'develop' into node-shm 2017-04-06 12:12:56 +02:00
Georg Reinke
278a0afd45 shmem: fix init/destroy functions 2017-04-06 10:49:02 +02:00
Georg Reinke
66545fc4c7 new shmem node type 2017-04-05 12:52:21 +02:00
Georg Reinke
44c4be94cd fix possible memleak in path 2017-04-05 12:40:21 +02:00
Georg Reinke
bc188e4a2d make pool pointer in struct sample relative 2017-04-04 12:32:48 +02:00