[ofw] [RFC] [PATCH 2/3] winmad userspace library
    Sean Hefty 
    sean.hefty at intel.com
       
    Wed Jul  2 10:22:44 PDT 2008
    
    
  
>Do all the methods of CWMProvider have to be public (WmReadFile,
>WmDeviceIoControl)?
No - I can change that.
>You use a critical section in all sync calls.
>Does it mean, that if I have an application with 50 threads, which are
>sending MADs synchronously, only one thread will work at a time ?
Yes.  The alternative is to have a pool of overlap structures and events, or
allocate them on a per call basis.  Those are optimizations that could come
later, if needed, and the API can support that change.  I just don't think it's
worth adding that complexity on an initial release.
 
- Sean
    
    
More information about the ofw
mailing list