I'm not sure if this is indeed a bug or if it's me that is not using the delayed callbacks properly... anyway, here is the issue I'm facing:
When I start iotivity-lite loop, I quickly enter the pthread_cond_wait() because next_event is zero. This is googd since I do not have any event, no network activity etc.
Now I start a delayed callback... I can see it being registered, but it's never firing.
The reason is that the loop is never run, because it is in the pthread_cond_wait() call.
I have the feeling that a call to _oc_signal_event_loop() is missing? (or maybe the intention was to let the user call it's signal_event_loop itself which is not very user friendly)