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:
parent
16e31d4fd6
commit
e949b20c00
1 changed files with 4 additions and 1 deletions
|
@ -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__);
|
||||
|
|
Loading…
Add table
Reference in a new issue