lwip: Add docs about not supported delete of task while blocked on select

pull/7261/head
David Cermak 2021-01-25 12:01:55 +01:00 zatwierdzone przez bot
rodzic bd1578f2e3
commit c17960312b
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -294,6 +294,9 @@ Thread-safe sockets
It is possible to ``close()`` a socket from a different thread to the one that created it. The ``close()`` call will block until any function calls currently using that socket from other tasks have returned.
It is, however, not possible to delete a task while it is actively waiting on ``select()`` or ``poll()`` APIs. It is always necessary that these APIs exit before destroying the task, as this might corrupt internal structures and cause subsequent crashes of the lwIP.
(These APIs allocate globally referenced callback pointers on stack, so that when the task gets destroyed before unrolling the stack, the lwIP would still hold pointers to the deleted stack)
On demand timers
++++++++++++++++