minor change
added typedef which maps processes and events which process waits on