Skip to content

sharing eventfd's across unrelated processes with libancillary

License

Notifications You must be signed in to change notification settings

shadowsocksrr/libancillary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This example shows how eventfd(2) file descriptors can be shared
over Unix sockets by processes which have no common ancestor.

This problem appears frequently if one needs a poll(2) compatible
notification mechanism; for instance when using queues in shared memory,
to signal the reader that data is available.

Usage:

make
run evserver in one window
run evclient in another window


This code uses the libancil library: http://www.normalesup.org/~george/comp/libancillary/

Michael Haberler 1/2014






About

sharing eventfd's across unrelated processes with libancillary

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 83.6%
  • Makefile 12.8%
  • CMake 3.6%