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 |
Name a few benefits of using GPMC.
How can you determine what GPO was and was not applied for a user? Name a few ways to do that.
Name the AD NCs and replication issues for each NC
What tool would I use to try to grab security related packets from the wire?
Can I deploy non-MSI software with GPO?
Where is the AD database held? What other folders are related to AD?
1 byte is equal?
friend i have some question plz help me out 1 how hash function works on router 2 what is diffrence between broad cast doman and collison doman 3 what is the difference between L3 Switch and Router, If they Perform the same function why we need both of them?
what is the function of DHCP?
how to create the mutiple ftp site in windows 2000 server
What's the difference between software publishing and assigning?
I am unable to access other Pc within network without domain. when i am doing to access other Pc within lan like //192.168.1.11 it gives error message like "the network location cannot reached.For information about network troubleshooting, see windows help" what is the solution?