|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
Re: [Xen-devel] [PATCH] tools/hotplug/Linux: forced to release lock if	h
 
Kouya Shimura writes ("[Xen-devel] [PATCH] tools/hotplug/Linux: forced to 
release lock if holder process is gone"):
> When a script using locking.sh is stopped by ctrl-C, the lock file remains.
> We have to wait 100 seconds for releasing the lock at the next time.
Thanks, I have applied your patch.
This kind of thing is one reason why lockfiles where the lock is
regarded as held if the file exists are horrible.  It's a shame that
we don't have any fcntl/flock style locking primitives available in
shell.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
 | 
    | 
  
  
    |   | 
    |