device filtering support
Travis
travis_robinson at comcast.net
Fri Feb 3 12:55:43 EST 2012
On 2/3/2012 9:27 AM, Pete Batard wrote:
> On 2012.02.03 16:49, Travis wrote:
>> On 2/3/2012 7:44 AM, Pete Batard wrote:
>>>> is a bit absurd considering
>>>> the performance problems you already have,
>>>
>>> On the contrary, it eliminates performance issues due to enum, since
>>> after that one time complete enum, where NO libusbx app is yet able to
>>> access a device, enum only needs to be concerned about devices plugged
>>> in or removed.
>>
>> What happens if there is only one app? Then you have not solved
>> anything.
>
> How so? I very much think we did.
>
It is quite simple, take this common scenario:
1) New libusb-1.0 single thread console application is launched.
(launches enumeration process)
2) Application does some work and exits. (destroys enum process)
Your solution only adds the overhead of creating, using, and then
destroying the extra enumeration process.
Completely bat shit crazy!
Regards,
Travis
More information about the libusbx
mailing list