1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

windows: service: do sul check and service regardless of service timeout

This commit is contained in:
Kristján Valur Jónsson 2019-10-31 19:22:51 +00:00 committed by Andy Green
parent 16e31d4fd6
commit e949b20c00

View file

@ -127,7 +127,10 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
if (!lws_service_adjust_timeout(context, 1, tsi))
_lws_plat_service_forced_tsi(context, tsi);
if (timeout_us) {
/*
* service pending callbakcs and get maximum wait time
*/
{
lws_usec_t us;
lws_pt_lock(pt, __func__);