[bus,driver] Introduce bus threading
authorShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Wed, 15 Dec 2010 02:55:55 +0000 (21:55 -0500)
committerShao Miller <Shao.Miller@yrdsb.edu.on.ca>
Wed, 15 Dec 2010 02:55:55 +0000 (21:55 -0500)
The driver now calls bus__start_thread() on the main bus.

One can implement their own bus__thread_func routine and
assign it to the bus::thread member.  If one does so, one
should call bus__process_work_items() within the thread's
loop, and one should be responsible for freeing their bus.


No differences found