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 benefits of using GPMC.

1 Answers  


How can you determine what GPO was and was not applied for a user? Name a few ways to do that.

2 Answers  


Name the AD NCs and replication issues for each NC

1 Answers  


What tool would I use to try to grab security related packets from the wire?

1 Answers  


Can I deploy non-MSI software with GPO?

6 Answers   TCS,


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

1 Answers  


1 byte is equal?

4 Answers   TCS,


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?

1 Answers   TCS,


what is the function of DHCP?

17 Answers   Wipro, YTI,


how to create the mutiple ftp site in windows 2000 server

5 Answers   ups,


What's the difference between software publishing and assigning?

1 Answers  


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?

4 Answers   Patni,


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)