Ad a comment.

This commit is contained in:
augustss 2001-01-21 19:00:29 +00:00
parent df20cb2972
commit 996efaa78c

View File

@ -1,4 +1,4 @@
/* $NetBSD: usb.c,v 1.51 2001/01/21 19:00:06 augustss Exp $ */ /* $NetBSD: usb.c,v 1.52 2001/01/21 19:00:29 augustss Exp $ */
/* /*
* Copyright (c) 1998 The NetBSD Foundation, Inc. * Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -228,6 +228,11 @@ usb_create_event_thread(void *arg)
} }
} }
/*
* Add a task to be performed by the event thread. This function can be
* called from any context and the task will be executed in a process
* context ASAP.
*/
void void
usb_add_task(usbd_device_handle dev, struct usb_task *task) usb_add_task(usbd_device_handle dev, struct usb_task *task)
{ {