nx_ip_status_check() blocks forever even if timeout is specified

Licio MAPELLI 51 Reputation points
2023-07-11T15:29:13.3+00:00

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

Azure RTOS
Azure RTOS
An Azure embedded development suite including a small but powerful operating system for resource-constrained devices.
314 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tiejun Zhou 1,126 Reputation points Microsoft Employee
    2023-07-12T05:11:06.9+00:00
    0 comments No comments