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?



You work as the application developer at Certkiller .com. You need to modify the code of an applic..

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

Post New Answer

More Microsoft Certifications Interview Questions

Name a few differences in Vista GPOs

1 Answers  


What are GPO links? What special things can I do to them?

1 Answers  


windows file/folder sharing ?

0 Answers   Consultancy,


What Is The Function of Configuration Partition?

2 Answers  


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.

6 Answers  






What are application partitions? When do I use them

0 Answers   CMS,


How many Serial & Parallel Port in single desktop Pc?

2 Answers  


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 .

2 Answers  


hi im raghu im 26 yrs old can i take exams on mcse for windows server 2003 now instead of windows server 2008

3 Answers  


what is pata channel & sata channel?

2 Answers   Slash Support,


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

0 Answers   Wipro,


Categories
  • Cisco Certifications Interview Questions Cisco Certifications (2321)
  • Microsoft Certifications Interview Questions Microsoft Certifications (171)
  • Sun Certifications Interview Questions Sun Certifications (45)
  • CISA Certification Interview Questions CISA Certification (744)
  • Oracle Certifications Interview Questions Oracle Certifications (64)
  • ISTQB Certification Interview Questions ISTQB Certification (109)
  • Certifications AllOther Interview Questions Certifications AllOther (295)