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:
parent
26f5cb71e7
commit
00b7fa23d0
1 changed files with 5 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue