This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Howdy, I am wondering if there is another way out of this sticky situation. I have a file access class like many others that my Data class calls. Now I synchronize on the random acces file instance which is static to my fileaccess class and there is only one instance of my file access class the idea is so that one thread at a time plays with the raf and my file pointers dont go crazy .This will make the application perform badly since only one thread can do anything with the random access file ...Is there some other way of doing this...Please comment Subu