darkphase / klish

Tool for Implementing Custom Shells

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Only one file lock for locking mechanism?

GoogleCodeExporter opened this issue · comments

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

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

  • Changed state: Done
  • Added labels: Type-Other
  • Removed labels: Type-Defect