Skip to content
This repository was archived by the owner on Mar 27, 2022. It is now read-only.
Discussion options

You must be logged in to vote

Thanks for your checking. You are right. The first answer has the similar effect as the last answer on the slide. If a thread's start method is not called, Java does not perform a context switching to a new call stack, and therefore the run method is run at the current call stack; in this example, it is the one used by the main thread. Without context switching to a new call stack, the effect is essentially like no new created thread.

I have updated the finalreview slides at the course web page with additional comment for classmates' reference. In this examination, I will clarify the questions to minimize possible confusion. There will be a paper checking session after we have released th…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sccust
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants