Marko Panger wrote:
1) netconn_new_with_proto_and_callback() creates the semaphore and the semaphore is initialized to 0. After that tcpip_apimsg() is invoked which sends the do_newconn() function to the main tcp thread. The tcpip_apimsg() function pends on the op_completed semaphore with 0 time.
Just to ensure you get this right: '0' means infinite, not 'test and return' -> the app task should wait for the tcpip_thread to complete the function request.

Simon


_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to