s_task icon indicating copy to clipboard operation
s_task copied to clipboard

s_event_wait always returns 0

Open pn2new opened this issue 2 years ago • 0 comments

I initialize an event, and then wait on it in a task, using s_event_wait_sec(await, &ev, 1);

This works (execution proceeds when a timeout occurs or the event is set). However, I thought that a timeout would be indicated in the return value. However, it is zero in both cases (timeout or event received). I also do not see where in the code this would be handled.

pn2new avatar Nov 09 '22 16:11 pn2new