I resend this mail due to I forgot to change it to text mode and was blocked from some servers. Sorry for the inconvenience.
2017-05-25 20:58 GMT+08:00 Rick Chang <chchang...@gmail.com>: > hi > > I would like to provide a lock module to solve the problem as follows: > > I want to efficiently use different resources (ex. hardware-0 hardware-1 > hardware-2) to execute different tasks (ex. task-a task-b task-c). task-a > needs hardware-0 and hardware-1. task-b needs one of the three hardwares. > task-c needs hardware-0. > > I'm not sure if there are existed ways to solve this problem. Any advice is > welcome and appreciated! > > Best Regards > Rick