About Question enthuware.ocpjp.v8.2.1314 :

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

Moderator: admin

Post Reply
shamran99
Posts: 15
Joined: Wed May 10, 2017 2:49 am
Contact:

About Question enthuware.ocpjp.v8.2.1314 :

Post by shamran99 »

I have a question based on the explanation given "Windows uses Time Slicing i.e. it gives time to all the thread in proportion of their priorities but many unix systems do not let low priority threads run at all if a higher priority thread is running"

So we can say that the both OS (windows and unix) give priority for the high prioritized Thread. Doesn't it guarantee the high prioritized task runs first? So I believe we can always say that the Thread 't2' runs before 't1' runs. Can't we?

-Shamran-

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

Re: About Question enthuware.ocpjp.v8.2.1314 :

Post by admin »

No, there could be another OS that uses equal time slicing without using priorities. There is simply no guarantee.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests