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 |
Why to make DNS server? If a Client accessing the internet have or not connected with DNS server.
What types of VPN does Windows 2000 and beyond work with natively?
hi my name is raghu im a fresher for this mcse n i wud like to take on the mcse 2008 what are the exams i have to take to become mcse on windows 2008 server
What is the Difference between Fat32 and NTFS partion?
What is Domain Hosting?
1 byte is equal?
Hi, I want to do asp.net certification. So please guide me how i can proceed.
You work as the application developer at Certkiller .com. You are working on an application named Certkiller App11. Certkiller App11 must be configured to execute a series of mathematical computations simultaneously. What should you do next to configure Certkiller App11 to execute a series of mathematical computations simultaneously?
Types of routing groups
What are GPOs?
What is Site?
What is Exchange Server?