This issue is duplicated with https://github.com/azure-rtos/netxduo/issues/184
nx_ip_status_check() blocks forever even if timeout is specified
Licio MAPELLI
51
Reputation points
The nx_ip_status_check(, , NX_IP_INITIALIZE_DONE | NX_IP_LINK_ENABLED | NX_IP_INTERFACE_LINK_ENABLED, timeout) internally calls tx_mutex_get(&(ip_ptr -> nx_ip_protection), TX_WAIT_FOREVER); that blocks forever in case the requested conditions are not meet.
Shouldn't be tx_mutex_get(&(ip_ptr -> nx_ip_protection), timeout) ?
Thanks
1 answer
Sort by: Most helpful
-
Tiejun Zhou 1,131 Reputation points Microsoft Employee
2023-07-12T05:11:06.9+00:00