Add a timeout field

XMLWordPrintable

      It would be something like:

      lock (resources: "my-res", timeout: 5) {
         [real work here]
      }
      

      So it tries to lock the resource and give up after 5 seconds.

            Assignee:
            Antonio Muñiz
            Reporter:
            Antonio Muñiz
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: