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 |
i WISH TO WRITE MISCROSOFT DOTNET CERTIFICATION EXAM? HOW MANY PAPERS ARE THERE? PLEASE EXPLAIN ABOUT EACH PAPERS
what is archive bit ?
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?
how do you manage the sustem administrator job
mcse 2003 to mcitp upgrade paper
What is Active Directory Database Location?
You work as the application developer at Certkiller .com. You are working on an application and want to use platform invoke services to call an unmanaged function from managed code. How will you accomplish the task?
What is Active Directory Domains & Trust?
does computer certificate from school works in bank po's qualifications
What's the difference between transferring a FSMO role and seizing one? Which one should you NOT seize? Why?
What is application server and Web server? Difference between Application server and Web Server? give example of both?
You want to standardize the desktop environments (wallpaper, My Documents, Start menu, printers etc.) on the computers in one department. How would you do that?