You work as the application developer at Certkiller .com.
You need to modify the
code of an application. The application uses two threads
named thread A and
thread B. You want thread B to complete executing before
thread A starts
executing.
How will you accomplish the task?
Answer / gaaa
A. Define thread A to run at a lower priority.
B. Define thread B to run at a higher priority.
C. Implement the WaitCallback delegate to synchronize the
threads.
D. Call the Sleep method of thread A.
E. Call the SpinLock method of thread A.
Answer: C
Explanation:
Note: Some confusion why the answer is C. Using the
ThreadPool and WaitCallBack
will not synchronise the threads, they will run in the
background in parallel
Is This Answer Correct ? | 8 Yes | 0 No |
Peer to Peer Network belong to which topology? a.ring b,bus c Star d None
How do you restore Active Directory?
What is Web Hosting?
What are the Support Tools? Why do I need them?
what are basic certification courses in computer?
What is POST?
What is Server OS? What is Domain Controler?
what is file server . and how to configure ?
tell the function of Source record of DNS server. why we create Stub zone? Tell Round Robing also?
What is the Global Catalog?
Why not make all DCs in a large forest as GCs?
hi im raghu im 26 yrs old can i take exams on mcse for windows server 2003 now instead of windows server 2008