RFR: 6402201: ProcessAttachTest.sh needs better synchronization
    Dmitry Samersoff 
    dmitry.samersoff at oracle.com
       
    Tue Nov 19 03:22:53 PST 2013
    
    
  
Alan,
It works on linux, solaris and macos.
fuser should work on Windows/CYGWIN,
No ideas what happens with Windows/MKS
For Windows it might be better to use handle.exe from sysinternals - it
do exactly the same and very reiliable in my experience.
-Dmitry
On 2013-11-19 14:58, Alan Bateman wrote:
> On 19/11/2013 09:33, Dmitry Samersoff wrote:
>> Jaroslav,
>>
>> Use fuser command to wait until file being closed is better way to do it
>>
>> if fuser -s filename; then Busy; else Ready; fi
>>
>> -Dmitry
>>
> Do you know if this works on all platforms?
> 
> -Alan
-- 
Dmitry Samersoff
Oracle Java development team, Saint Petersburg, Russia
* I would love to change the world, but they won't give me the sources.
    
    
More information about the serviceability-dev
mailing list