Google
  Web www.spinics.net

Re: Valid signals for USBDEVFS_DISCSIGNAL and uurb->signr

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


On Wed, 7 Nov 2007, Phil Endecott wrote:

> Dear Experts,
> 
> It seems that the signal that can be used with USBDEVFS_DISCSIGNAL and 
> in usbdevfs_urb.signr is limited to the real-time signals SIGRTMIN to 
> SIGRTMAX.  What's the rationale for this restriction?  I believe that a 
> process can kill() itself with any signal number, can't it?  I was 
> planning to use SIGIO for usbdevfs_urb.signr and SIGTERM (uncaught) for 
> USBDEVFS_DISCSIGNAL.  I don't think I'll have a problem with using 
> SIGRTMIN+n instead, but I'm curious to know if there's some subtle 
> problem with the non-real-time signals that I should be aware of.

I don't know of any reason for this restriction.

Alan Stern


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]