udp: use pthread_cancel instead of a shared flag.
It allows to exit the thread immediately instead of waiting for select to timeout (one second in the current code).
Showing
Please
register
or
sign in
to comment
It allows to exit the thread immediately instead of waiting for select to timeout (one second in the current code).