Skip to content

An inter-thread message queue implementation based on circular buffer and eventfd.

License

Notifications You must be signed in to change notification settings

sh4run/message_queue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

message_queue

An inter-thread message queue implementation based on circular buffer and eventfd.

Example code is based on libev. It creates 3 threads and illustrates how to send/receive messages using ev-loop.

Build

git clone https://github.com/sh4run/message_queue.git
cd message_queue
git submodule update --init
make
make example

Releases

No releases published

Packages

No packages published