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

Peer to Peer Network belong to which topology? a.ring b,bus c Star d None

4 Answers   ASD Lab,


How do you restore Active Directory?

1 Answers  


What is Web Hosting?

2 Answers  


What are the Support Tools? Why do I need them?

2 Answers  


what are basic certification courses in computer?

2 Answers   AppLabs, Infosys,






What is POST?

5 Answers   HP, Infosys, TCS,


What is Server OS? What is Domain Controler?

2 Answers  


what is file server . and how to configure ?

7 Answers  


tell the function of Source record of DNS server. why we create Stub zone? Tell Round Robing also?

0 Answers  


What is the Global Catalog?

1 Answers  


Why not make all DCs in a large forest as GCs?

1 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  


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)