only send events

Only send events between client and server and use the socket simply
to wake up the other end.
This commit is contained in:
Wim Taymans 2017-01-17 15:02:06 +01:00
parent cae971e106
commit c8648eaf59
3 changed files with 90 additions and 117 deletions

View file

@ -36,12 +36,6 @@ typedef struct _PinosTransportArea PinosTransportArea;
#include <pinos/client/mem.h>
#include <pinos/client/sig.h>
#define PINOS_TRANSPORT_CMD_NONE 0
#define PINOS_TRANSPORT_CMD_NEED_DATA (1<<0)
#define PINOS_TRANSPORT_CMD_HAVE_DATA (1<<1)
#define PINOS_TRANSPORT_CMD_HAVE_EVENT (1<<2)
#define PINOS_TRANSPORT_CMD_SYNC (1<<3)
typedef struct {
int memfd;
off_t offset;