Re: GadgetFS Single Threaded

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Wednesday 28 February 2007 10:09 am, Andreas Vilinski wrote:
> Hi
> 
> I try to implement a mass storage gadget driver in user space. The  
> restriction - it must be single threaded.
> The usb.c example, that uses the gadgetfs module has two trehads running.  
> But it's currently possible to poll the EP0 and submit IO-writes to EP-IN  
> and EP-OUT Endpoints. Is it possible to write single-threaded applications  
> based on gadgetfs? It seems to me very useless to apply the different  
> approaches to different endpoint file descriptors

I think that some patches have been merged which would make it possible
to write single-threaded code like that.

It certainly _should_ be possible.  The example program started as more
of a test driver than anything else.  So ... try it, and if you find any
bugs, report them (ideally, with patches to fix the problem).

- Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.