|
|
Subject:
Multiple filedescriptor to the same file within the same process
Category: Computers > Operating Systems Asked by: sv12-ga List Price: $2.00 |
Posted:
14 Feb 2005 19:51 PST
Expires: 16 Mar 2005 19:51 PST Question ID: 474691 |
How does windows handle multiple file descriptor to the same file on hard disk owned by say two different threads within a process ? Here is the scenario: a)i have main thread which opens a file (from CIFS mounted file system) and memory maps it for reading. b)Second thread opens the same file to read the contents of the file(no memory map). Both of these activities are done simultaneously and they could be reading data at different offsets at any given pt of time. I see that with a test program to test this scenario, (a) done alone has good performance (i mean the file was mmaped and the data was read faster) than when it was done in parallel with (b). Is this a well known problem? Is there a way to address this problem and make the simultaneous access faster ? |
|
There is no answer at this time. |
|
There are no comments at this time. |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |