CodePudding user response:
First if you want to put your project timing task individually independence, can do with XXL, support the operation of the lock;If you don't want to independence, the need to realize the operation of the lock, when one of the threads in other threads can only wait