palaniyappanBala / klish

Automatically exported from code.google.com/p/klish
Other
0 stars 0 forks source link

Only one file lock for locking mechanism? #141

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
If type commands from different instances of klish, and their lock param is set 
as "true", the later entered command will have "can't get lock" issue right?

But it seems this locking mechanism let all commands in klish execute 
exclusively, but in some cases we might want some commands share one lock while 
others share another lock right?

What should I do if this scenario happen?

Thanks.

Original issue reported on code.google.com by gnli...@gmail.com on 2 Jan 2014 at 6:08

GoogleCodeExporter commented 8 years ago
The klish has a single lock.
You can disable internal locking mechanism by lock="false" and implement your 
own locks within an ACTION.

Original comment by serj.kalichev@gmail.com on 2 Jan 2014 at 6:40