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

Why to make DNS server? If a Client accessing the internet have or not connected with DNS server.

5 Answers   TCS,


What is WINS server? where we use WINS server? difference between DNS and WINS?

4 Answers   ADP, Wipro,


What is forest?

5 Answers  


What are application partitions? When do I use them

0 Answers   CMS,


What's the difference between LDIFDE and CSVDE? Usage considerations?

1 Answers   FIC,






• What are sites? What are they used for? • What's the difference between a site link's schedule and interval? • What is the KCC? • What is the ISTG? Who has that role by default? • What are the requirements for installing AD on a new server? • What can you do to promote a server to DC if you're in a remote location with slow WAN link?

3 Answers   ITC Infotech, Wipro,


What are sites? What are they used for?

0 Answers   IBM, TCS, Wipro,


What is the Global Catalog?

1 Answers  


Differences Between FAT/NTFS?

5 Answers   TCS,


What is the function of Domain Partition?

1 Answers  


You work as the application developer at Certkiller .com. The global cache contains an assembly named Certkiller Ass10. You are busy working on an assembly named Certkiller Ass09. Certkiller Ass9 includes a public method. You want the public method to be called from only Certkiller Ass10. Choose the permission class which you should use.

1 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  


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)