It's correct the statement? :<<Even after calling yield() it is possible that the same thread keeps running!!!>>
After yield(), the same thread can be reselected by the scheduler, but it is possible for the current thread to keep running?
About Question enthuware.ocpjp.v7.2.1560 :
Moderator: admin
-
- Posts: 1
- Joined: Wed Jan 20, 2016 3:35 pm
- Contact:
-
- Site Admin
- Posts: 10046
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1560 :
Yes, it is possible. It is also possible that the JVM completely ignores the call to yield.
If you like our products and services, please help us by posting your review here.
Who is online
Users browsing this forum: Bing [Bot] and 56 guests