Difference between Process.run() and Process.start()

后端 未结 3 1278
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-18 23:44

I am struggling to understand the difference between run() and start(). According to the documentation, run() method invokes the calla

3条回答
  •  误落风尘
    2021-01-19 00:19

    You're exactly right. As it describes in the docs, run() is the entry point of the new thread created by start().

提交回复
热议问题