added usync_queue
implementation of event queue using usync_queue