Default event handling infrastructure
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 23 Feb 2011 22:41:45 +0000 (14:41 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:58 +0000 (17:35 -0700)
commit3e8bec0c585dcd5b425345cf165398c25e53d745
tree075dd02df509c80450bddb0efdb581954a462149
parent255f188d8262dd945bcd6caf7515fd1d670671a9
Default event handling infrastructure

2LSs/whoever can register handlers in ev_handlers to deal with specific
events.  For now, use the default ev_ev handler for EV_EVENT.
handle_events() works for a vcore's default mbox, and handle_event_q()
works for generic ev_qs.
tests/mhello.c
tests/syscall.c
user/parlib/event.c
user/parlib/include/event.h
user/pthread/pthread.c