About Question enthuware.ocpjp.v7.2.1560 :

Help and support on OCA OCP Java Programmer Certification Questions
1Z0-808, 1Z0-809, 1Z0-815, 1Z0-816, 1Z0-817

Moderator: admin

Post Reply
sodomark
Posts: 1
Joined: Wed Jan 20, 2016 3:35 pm
Contact:

About Question enthuware.ocpjp.v7.2.1560 :

Post by sodomark »

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?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v7.2.1560 :

Post by admin »

Yes, it is possible. It is also possible that the JVM completely ignores the call to yield.

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests