Is there any problem using,
events = Event_pend(syncEvent, Event_Id_NONE, MR_ALL_EVENTS,0);
if(events){
//code for handling events
}else loop_fns(); //which keeps running and isn't event based.
or is it advisable to use a 1ms timer(using UtilClock) and call loop_fns() as timer cb with events = Event_pend(syncEvent, Event_Id_NONE, MR_ALL_EVENTS,ICALL_TIMEOUT_FOREVER); so that it gets called each time timer event occurs.
Both cases seem to work, is there any issues or drawbacks while using the first method.