aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/strtol.3
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2007-01-08 23:21:06 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2007-01-08 23:21:06 +0000
commitb262697660f9ef734d3356b3d0123c6cc1ed0b3b (patch)
treeeed129bbc6039fa6114f81248214f3e07b79c5ba /lib/libc/stdlib/strtol.3
parentf8209ca81d654fbd8b1a67da562147d6f9599f27 (diff)
Add the following functions to abstract away the creation of task threads
for usb. I hope that this will eventually be used for generic devices that need full fledged blocking threads for event processing. Create a taskqueue: void usb_ether_task_init(device_t, int, struct usb_taskqueue *); Enqueue a task: void usb_ether_task_enqueue(struct usb_taskqueue *, struct task *); Wait for all tasks queued to complete: void usb_ether_task_drain(struct usb_taskqueue *, struct task *); Destroy the taskqueue: void usb_ether_task_destroy(struct usb_taskqueue *);
Notes
Notes: svn path=/head/; revision=165901
Diffstat (limited to 'lib/libc/stdlib/strtol.3')
0 files changed, 0 insertions, 0 deletions