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 _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel