Allow timeout implementations to block, by using a kernel thread instead of a timer.
authorBen Pfaff <blp@nicira.com>
Tue, 1 Apr 2008 16:41:21 +0000 (09:41 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 1 Apr 2008 20:01:07 +0000 (13:01 -0700)
commitebb1d65cf73b80063a36651c2519b84a02f71a32
tree6c34d3ca8cda7bf1fb295ccafafe860bbb613181
parent15bd8ce4ba506e35d44a87929ff8c953d8aa97d4
Allow timeout implementations to block, by using a kernel thread instead of a timer.

This is required on the Quanta platform, which needs to down a semaphore
inside the timeout implementation.

Also, add a 2.4 compatibility implementation of kthread so that both
2.4 and 2.6 can use the kthread API.
datapath/datapath.c
datapath/datapath.h
datapath/linux-2.4/compat-2.4/compat24.c
datapath/linux-2.4/compat-2.4/compat24.h
datapath/linux-2.4/compat-2.4/include/linux/delay.h
datapath/linux-2.4/compat-2.4/include/linux/kthread.h [new file with mode: 0644]
datapath/linux-2.4/compat-2.4/kthread.c [new file with mode: 0644]