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

plat: freertos: selectively use old service looping

This commit is contained in:
Chunho Lee 2021-10-24 18:48:48 -07:00 committed by Andy Green
parent b954aa8c21
commit 41c88959d2

View file

@ -101,9 +101,14 @@ _lws_plat_service_tsi(struct lws_context *context, int timeout_ms, int tsi)
/*
* is there anybody with pending stuff that needs service forcing?
*/
#if !defined(LWS_AMAZON_RTOS)
again:
#endif
n = 0;
if (lws_service_adjust_timeout(context, 1, tsi)) {
#if defined(LWS_AMAZON_RTOS)
again:
#endif /* LWS_AMAZON_RTOS */
a = 0;
if (timeout_us) {