February 2014
Beginner
1248 pages
62h 25m
English
a) its run method ends.
b) sleep, Thread.
c) timed waiting.
d) ready, running.
e) Executor.
f) shutdown.
g) producer/consumer, producer, consumer.
h) synchronized.
a) signal.
b) signalAll.
c) await, waiting.
d) ArrayBlockingQueue.
e) now.
f) toMillis.
g) getPercentInstance.
h) format.
i) parallelSetAll.
j) parallelPrefix.
k) parallel.
l) Runnables, Suppliers.
a) True.
b) False. Timeslicing allows a thread to execute until its timeslice (or quantum) expires. Then other threads of equal priority can execute.
c) False. When a thread’s quantum expires, the thread returns to the ready state and the operating system assigns to the processor another thread.
d) True.
a) False. The Duration method ...
Read now
Unlock full access