Files
libuev/test/Makefile.am
T
NefelibateLG 28643fa599 Return from uev_run() when UEV_NONBLOCK and no event is pending
uev_run() with only UEV_NONBLOCK never returns when there are watchers
but no events, it spins at full CPU load:

    uev_run(ctx, UEV_NONBLOCK);

The loop polls epoll with a zero timeout and only stops on UEV_ONCE.

Leave the loop when a nonblocking poll finds no events.
2026-11-16 15:08:42 +01:00

23 lines
619 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 += cronstart
TESTS += error
TESTS += io
TESTS += nonblock
TESTS += resume
TESTS += signal
TESTS += stdin
TESTS += timer
TESTS += event
check_PROGRAMS = $(TESTS)