Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/usb



On Sat, Jan 12, 2008 at 10:32:51PM +0000, Quentin Garnier wrote:
> 
> Module Name:  src
> Committed By: cube
> Date:         Sat Jan 12 22:32:51 UTC 2008
> 
> Modified Files:
>       src/sys/dev/usb: if_aue.c if_auereg.h
> 
> Log Message:
> workqueue(9) has the non-evident limitation that the caller cannot reuse
> the same struct work before workqueue(9) has internally started to work on
> the task.

So, actually, that's exactly what the manual page states.  I guess the
missing bit in the workqueue(9) API is a way to know whether or not a
given struct work has been started.

-- 
Quentin Garnier - cube%cubidou.net@localhost - cube%NetBSD.org@localhost
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.

Attachment: pgpGdcQXO8TFA.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index