]> git.proxmox.com Git - mirror_corosync-qdevice.git/commit
pr-poll-loop: Add main poll loop based on PR_Poll
authorJan Friesse <jfriesse@redhat.com>
Wed, 12 Aug 2020 12:32:33 +0000 (14:32 +0200)
committerJan Friesse <jfriesse@redhat.com>
Wed, 12 Aug 2020 13:52:17 +0000 (15:52 +0200)
commit108c5e8e3322814363a3c5f254ff4d70978bc389
tree868ad095862fcf8bbb0d23351eaa6bcd7499764c
parente2c682e9bd946a31abe0f616d75b462ab61aef75
pr-poll-loop: Add main poll loop based on PR_Poll

Add main loop abstraction based on PR_Poll with set_events, read, write
and error callbacks.

Signed-off-by: Jan Friesse <jfriesse@redhat.com>
qdevices/pr-poll-loop.c [new file with mode: 0644]
qdevices/pr-poll-loop.h [new file with mode: 0644]