[bus] Introduce work item queue and processing
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Wed, 15 Dec 2010 01:33:17 +0000 (20:33 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Wed, 15 Dec 2010 01:33:17 +0000 (20:33 -0500)
commitcf49e2000cc3ae799a9662d50ec2eb9d8f6ddf64
tree9215ff668d24f7e1c28099af4a0688dff9298b8c
parentcb1b8e308f9b77c3250008d46c342085b2952f9d
[bus] Introduce work item queue and processing

bus__add_work_item_() will add a work item.

bus__get_work_item_() will get and dequeue a work item.

bus__process_work_items() will walk the work item queue
and process each work item.
src/include/bus.h
src/winvblock/bus/bus.c