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: 10388
- 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.
Who is online
Users browsing this forum: No registered users and 7 guests