[linux-usb-devel] upping a semaphore from a USB completion handler?

2007-06-22 Thread Florin Iucha
Hello, I am writing a USB driver for some custom hardware, and I need to synchronize between the user-space and the USB subsystem. Can I create a semaphore and down it in the reader then up it in the completion handler? I know the completion handler runs in interrupt context so you are not

Re: [linux-usb-devel] upping a semaphore from a USB completion handler?

2007-06-22 Thread Oliver Neukum
Am Freitag, 22. Juni 2007 schrieb Florin Iucha: Hello, I am writing a USB driver for some custom hardware, and I need to synchronize between the user-space and the USB subsystem. Can I create a semaphore and down it in the reader then up it in the completion handler? Yes, you can. I