On Tue, May 22, 2001 at 04:31:37PM +0100, Alan Cox wrote: > > `the class of devices in question' was cryptographic devices, and possibly > > other transactional DSPs. I don't consider audio to be transactional. > > in any case, you can do transactional things with two threads, as long > > as they each have their own fd on the device. Think of the fd as your > > transaction handle. > > Thats a bit pathetic. So I have to fill my app with expensive pthread locks > or hack all the drivers and totally change the multi-open sematics in the ABI huh? void thread_init(void) { int fd = open("/dev/crypto"); real_thread_init(fd); } where was that lock again? and notice this idea is only for transactional things -- what transactional things do sound drivers do? -- Revolutions do not require corporate support. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFD w/info-PATCH] device arguments from ... Pavel Machek
- Re: [RFD w/info-PATCH] device arguments from ... Alan Cox
- Re: [RFD w/info-PATCH] device arguments from ... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from ... Alan Cox
- Re: [RFD w/info-PATCH] device arguments from ... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments from ... Linus Torvalds
- Re: [RFD w/info-PATCH] device arguments from ... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments from ... Alan Cox
- Re: [RFD w/info-PATCH] device arguments from ... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments from ... Alan Cox
- Re: [RFD w/info-PATCH] device arguments from ... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments from ... Alan Cox
- Re: [RFD w/info-PATCH] device arguments from lookup, parti... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from lookup, parti... David Woodhouse
- Re: [RFD w/info-PATCH] device arguments from lookup, ... Linus Torvalds
- Re: [RFD w/info-PATCH] device arguments from look... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from ... Matthew Wilcox
- Re: [RFD w/info-PATCH] device arguments from ... Alexander Viro
- Re: [RFD w/info-PATCH] device arguments from ... Linus Torvalds
- Re: [RFD w/info-PATCH] device arguments from ... Linus Torvalds
- Re: [RFD w/info-PATCH] device arguments from ... Alexander Viro