android - Is (re)starting a thread UB? -


calling .start() on thread executes .run(). subsequent call (if thread still active) throws illegalthreadstateexception (as expected). however, if thread finishes .run() , in dead state, can still restarted via .start(). haven't found documentation on this, documented anywhere expected behavior?

java docs state should throw illegalthreadstateexception after started (period).


Comments

Popular posts from this blog

php - Cannot override Laravel Spark authentication with own implementation -

What is happening when Matlab is starting a "parallel pool"? -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -