A grant must at some time have been preceded by a request

In reply to DVtrojan:

  • ##[*1:$] req; // is syntactically incorrect
  • You probably meant: ##[1:$] req;
  • You would need a first_match(##[1:$] req)
  • My reservation on this solution is that it is not efficient as it creates at every attempt multiple threads.

Ben