You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
notcurses/tests
nick black a23efbb463
rigourize ncsubproc destruction
We need support three distinct paths for destruction of
ncsubprocs: (1) external call to ncsubproc_destroy() while
the subprocess is running, (2) external call to
ncsubproc_destroy() after the subprocess has terminated, and
(3) internal call to ncsubproc_destroy() without any external
call. To do this properly, we always waitid() on the subprocess
in our ncsubproc thread, and do not cancel said thread. This
guarantees that the subprocess has been reaped if the thread
has exited. We throw a pidfd_send_signal() into the thread
prior to the waitid(), because this is safe with pidfds. The
thread reclaims no resources otherwise. ncsubproc_destroy(),
instead, reclaims them, after joining the ncsubproc thread.
It sends SIGKILL before the join, which is once again safe
thanks to pidfds. Resolves #552.
4 years ago
..
cell.cpp cells unit test: downgrade problematic unicode to WARN #517 4 years ago
channel.cpp Prep for serious rusting #101 (#354) 5 years ago
direct.cpp ensure UTF8 for metric tests 4 years ago
egcpool.cpp move enforce_utf8() into main 4 years ago
fade.cpp another scrolling unit test 4 years ago
fds.cpp rigourize ncsubproc destruction 4 years ago
fills.cpp ncfdplane, fileroller PoC, ncfdplane unit tests, qrcodes #24 #514 (#524) 4 years ago
input.cpp move enforce_utf8() into main 4 years ago
internal.cpp Out with googletest, in with doctest #202 (#231) 5 years ago
main.cpp notcurses-tester: fix double-free 4 years ago
main.h move enforce_utf8() into main 4 years ago
menu.cpp move enforce_utf8() into main 4 years ago
metric.cpp enforce_utf8() for wide tests, duh 4 years ago
ncplane.cpp move enforce_utf8() into main 4 years ago
notcurses.cpp move enforce_utf8() into main 4 years ago
palette.cpp move enforce_utf8() into main 4 years ago
plot.cpp Floating-point ncplot, genericize ncplot (#531) 4 years ago
reel.cpp move enforce_utf8() into main 4 years ago
resize.cpp move enforce_utf8() into main 4 years ago
rotate.cpp move enforce_utf8() into main 4 years ago
scrolling.cpp move enforce_utf8() into main 4 years ago
selector.cpp move enforce_utf8() into main 4 years ago
visual.cpp visual unit test: use notcursesI.avi, which OIIO can decode #547 4 years ago
wide.cpp move enforce_utf8() into main 4 years ago
zaxis.cpp plot: match delete, not free, with new 4 years ago