mirror of
https://github.com/troglobit/libuev.git
synced 2026-11-17 19:31:18 +00:00
uev_io_set() on an active oneshot watcher keeps watching the old
descriptor, for the old events:
uev_io_set(w, newfd, UEV_READ | UEV_ONESHOT);
It only rearms the watcher, with what is already stored in it.
Rearm only when neither has changed, otherwise stop the watcher and set
it up again.
Closes #35
18 lines
491 B
Makefile
18 lines
491 B
Makefile
EXTRA_DIST = check.h
|
|
CLEANFILES = *~ *.trs *.log
|
|
AM_CFLAGS = -W -Wall -Wextra -Wno-unused-result -Wno-unused-parameter
|
|
AM_CPPFLAGS = -D_GNU_SOURCE -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64
|
|
AM_LDFLAGS = -L../src ../src/libuev.la
|
|
|
|
TESTS =
|
|
TESTS += active
|
|
TESTS += api
|
|
TESTS += complete
|
|
TESTS += cronrun
|
|
TESTS += io
|
|
TESTS += signal
|
|
TESTS += timer
|
|
TESTS += event
|
|
|
|
check_PROGRAMS = $(TESTS)
|