https://github.com/ssrlive/libancillary
https://github.com/ssrlive/libancillary
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ssrlive/libancillary
- Owner: ssrlive
- License: other
- Created: 2020-06-04T02:45:04.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-04-12T11:01:06.000Z (about 2 years ago)
- Last Synced: 2025-01-05T17:43:11.414Z (5 months ago)
- Language: C
- Size: 28.3 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: COPYING
Awesome Lists containing this project
README
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 windowThis code uses the libancil library: http://www.normalesup.org/~george/comp/libancillary/
Michael Haberler 1/2014