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

1 word is equal?

10 Answers   TCS,


Where is the AD database held? What other folders are related to AD?

1 Answers  


Which is best insistute to learn IIS 6.0 and 7.0

0 Answers  


You work as the application developer at Certkiller .com. You must specify a class which is optimized for key-based item retrieval from collections. Your class must cater for key-based item retrieval for small and large collections. Which of the following class types should you specify? A. Select the OrderedDictionary class. B. Select the HybridDictionary class. C. Select theListDictionary class. D. Select the Hashtable class

1 Answers  


What is the ISTG? Who has that role by default?

1 Answers  






You work as the application developer at Certkiller .com. You are developing a debug build of an existingapplication. You want to locate a specific line of code which resulted in the exception occurring. Choose the property of the Exception class that you should use to accomplish the task.

1 Answers  


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

2 Answers  


What is the difference between joining and blending in Tableau?

1 Answers  


How Replication Works

4 Answers   Infosys,


i want mcp 290 latest dumps and ccna dumps plse help me can tell me website i will download dump plse give reply

4 Answers   3G Cell Labs, HCL, HP, TCS, Vcustomer, Wipro,


hi can i take exams for mcse on windows server 2003 now bcoz recently windows server 2008 has been released

3 Answers  


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)