How to make thread wait if prerequisite was not yet done processing and resumes once prerequisite is finished?

后端 未结 0 2046
-上瘾入骨i
-上瘾入骨i 2021-02-11 17:54

I am new to Java multithreading. I wanted to perform a process executor program. Each process contains zero to many prerequisites (List of String of a Process)

My goal is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题