First version of the shared memory transport.

Use via `--transport shmem` cmd option. No pub/sub.
This commit is contained in:
Alexey Rybalchenko
2016-06-03 11:24:12 +02:00
parent 6c3b01f09c
commit a332d9fc83
39 changed files with 2121 additions and 309 deletions

View File

@@ -12,8 +12,6 @@
* @author D. Klein, A. Rybalchenko
*/
#include <sstream>
#include <zmq.h>
#include "FairMQLogger.h"
@@ -60,9 +58,12 @@ void FairMQContextZMQ::Close()
if (zmq_ctx_destroy(fContext) != 0)
{
if (errno == EINTR) {
if (errno == EINTR)
{
LOG(ERROR) << " failed closing context, reason: " << zmq_strerror(errno);
} else {
}
else
{
fContext = NULL;
return;
}