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 |
• How do you view all the GCs in the forest? • Why not make all DCs in a large forest as GCs? • Trying to look at the Schema, how can I do that? • What are the Support Tools? Why do I need them? • What is LDP? What is REPLMON? What is ADSIEDIT? What is NETDOM? What is REPADMIN?
How to solve problem of Blank screen in laptop within 5 minutes. everything is running fine in my laptop but screen is blank even i remove RAM & Insert again in RAM slot & also try to battery same as but problem is as it is Plz give me answer if you know
what is the process to retreive emails which has been deleted in Outlook from Exchange Server?
I want to look at the RID allocation table for a DC. What do I do?
Difference between IP V-4 and IP V-6?
Name a few benefits of using GPMC.
What do you do to install a new Windows 2003 R2 DC in a Windows 2003 AD?
1 byte is equal?
What's the difference between transferring a FSMO role and seizing one? Which one should you NOT seize? Why?
what is file server . and how to configure ?
What Is The Function of Configuration Partition?
What can I do to prevent inheritance from above?