[En-Nut-Discussion] Timeout on Event Wait

Harald Kipp harald.kipp at egnite.de
Mon Oct 20 19:57:21 CEST 2003


>                         // wait for a completion state
>                         if ( NutEventWaitNext( &hTktEvent, 5000 ) == 0 )
>                         {
>*** this event wait never times out
>*** I have tried both EventWaitNext
>*** and EventWait

Simple answer: I don't believe you. :-)

What makes you so sure, that it is hanging in _this_ call
and not in one of the others?

As it is very difficult to track these kind of problems
with JTAG debugging (no threading support), I'd use
debug outputs on the RS232 port and trace them.

Harald




More information about the En-Nut-Discussion mailing list