0 now means "don't wait" and -1 "wait forever".
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
specify how long the applications should wait for sessiond
"registration done" command before proceeding to execute the main
program. The default is 3000ms (3 seconds). The timeout value is
- specified in milliseconds. The value -1 means "don't wait". The value
- 0 means "wait forever".
+ specified in milliseconds. The value 0 means "don't wait". The value
+ -1 means "wait forever".
TRACE VIEWER:
assert(!ret);
}
break;
- case 0: /* wait forever */
+ case -1:/* wait forever */
ret = sem_wait(&constructor_wait);
assert(!ret);
break;
- case -1:/* no timeout */
+ case 0: /* no timeout */
break;
}
pthread_mutex_unlock(<tng_ust_comm_mutex);