mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
windows: service: do sul check and service regardless of service timeout
This commit is contained in:
parent
f3b2205679
commit
7e150b2188
1 changed files with 4 additions and 1 deletions
|
@ -130,7 +130,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