mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/lwip_docs_delete_while_select_v4.2' into 'release/v4.2'
lw-IP: Add docs about not supported delete of task while blocked on select (v4.2) See merge request espressif/esp-idf!13677
This commit is contained in:
commit
c6e0decf0a
@ -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
|
||||
++++++++++++++++
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user