|
From: Stef B. <st...@gm...> - 2011-10-21 10:31:49
|
Hi, have you got an answer yet? I've solved the same problem (read-writer ) using threads, mutexes, condition variables etcetera. You can find various documentation on the Internet about howto do this. Stef 2011/9/23 Merx, Thomas <tho...@ha...>: > Hi everybody, > > I am new to Fuse and have a question regarding parallel read and write accesses to the same file. I want to write some kind of "driver" in user space which provides nodes from which I can read data if available and write some data to it. If no data is available the read shall block. In this case I still want to be able to write data to the same node. When I do this with Fuse and I am blocked waiting for a semaphore in the read function, I am not able to write any data to this node. I assume that there is only one thread for the read and write functions, am I right? Is there another way to do what I want? > > Thanks in advance, > Thomas Merx > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2dcopy2 > _______________________________________________ > fuse-devel mailing list > fus...@li... > https://lists.sourceforge.net/lists/listinfo/fuse-devel > |