Compare two node descriptors
#include <sys/netmgr.h> #define ND_NODE_CMP(a,b) …
The ND_NODE_CMP() macro compares two node descriptors.
#include <sys/neutrino.h> uint32_t nd1, nd2; if ( ND_NODE_CMP(nd1, nd2) == 0 ) { /* Same node */ … } else { /* Different nodes */ … }
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |