Add shared memory example

- Add shared memory example in examples/MQ/SharedMemory
 - Device/Task termination: try soft first, and abort if it fails
 - Interactive mode: prevent cin from blocking forever (poll)
This commit is contained in:
Alexey Rybalchenko
2016-04-07 17:02:37 +02:00
parent 599d1b3e05
commit 3353e214a7
7 changed files with 90 additions and 59 deletions

View File

@@ -11,7 +11,7 @@
{
"type": "push",
"method": "bind",
"address": "tcp://*:5555",
"address": "tcp://127.0.0.1:5555",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "1"
@@ -28,7 +28,7 @@
{
"type": "pull",
"method": "connect",
"address": "tcp://localhost:5555",
"address": "tcp://127.0.0.1:5555",
"sndBufSize": "1000",
"rcvBufSize": "1000",
"rateLogging": "1"