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) ?


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
    0 comments No comments