I have a series of programs that lend themselves to using message queues for communication between them.

I am currently using libevent for these programs for network data and timers.

I would rather not have to sit on a localhost tcp connection (the data received is variable length, based upon the message type) between the two tasks.

I have looked through the mailling list archives and through the documentation, and I suspect the answer to my question is "no".

Is there a way to register a message queue event and have Libevent issue a callback to a function that processes the message?

I would also prefer not to have to set a timer and poll the message queue every second or so, although I can afford one second resolution for message reception.

Thanks in advance,

   Dave
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users
  • [Libevent-users] Wanting to use msgrcv with Libevent Dave Gotwisner

Reply via email to