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 differences in Vista GPOs
What are GPO links? What special things can I do to them?
windows file/folder sharing ?
What Is The Function of Configuration Partition?
hi friends...i hav a issue in company n need to solve it. the problem iz in our company the systems are connected in workgroup..everyday one system is facing a ip conflict issue. plz tel me how to solve it... everyday i find out which system it conflicting with accordingly i do restarting of system it conflicting with. Dhcp is configured in router..router provides the ip. frieds plz provide any permanant solution with detailed steps...thnx.
What are application partitions? When do I use them
How many Serial & Parallel Port in single desktop Pc?
I AM A FINAL YEAR M.C.A STUDENT.I HAVE DONE OCA AND GOING FOR OCP in oracle 9i developer track and also i am planning for doing MCTS(SQL SERVER 2005) certification. is there any future prospects and it will be benificial for me? reply as early as possible .
hi im raghu im 26 yrs old can i take exams on mcse for windows server 2003 now instead of windows server 2008
what is pata channel & sata channel?
Sir, I need to do my certification course for .NET. Will u provide me the information of how to prepare for the certification test. And also specify me the online books that is useful in studing for .NEt platform
3 Answers Brigade, Microsoft, TCS, TEVTA, Wipro,
HI Guys...... Good day ahead How many sub domains can be added in exchange server means in a domain