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

primary & secondary storages are 2 main type of storage

2 Answers  


where are logical drives created on hard disk ?

1 Answers  


I am an employee in one company. I need to do asp.net certification. I am new to this technology and also i am studying it from one month. So please guide me how i can proceed for doing my certification.

0 Answers  


What is LDP? What is REPLMON? What is ADSIEDIT? What is NETDOM? What is REPADMIN?

1 Answers  


You work as the application developer at Certkiller .com. You are developing a new application named Certkiller App12. Certkiller App12 must be configured to receive events asynchronously. You define two instances named Wq1EventQuery and ManagementEventWatcher respectively. Wq1EventQuery will list those events and event conditions for which Certkiller App12 should respond. ManagementEventWatcher will subscribe to all events matching the query. Which two additional actions should you still perform to enable Certkiller App12 to receive events asynchronously? Choose two correct answers. Each answer presents only part of the complete solution.

1 Answers  






What are administrative templates?

2 Answers  


Name three booting files?

8 Answers   HS, Wipro,


hi friends...is thr anybd who can tel me how to c logs of internet useage of each system...and hoe to delete those logs and from wer???

1 Answers  


• 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,


Can I deploy non-MSI software with GPO?

6 Answers   TCS,


You work as the application developer at Certkiller .com. You are working on an application and want to use platform invoke services to call an unmanaged function from managed code. How will you accomplish the task?

1 Answers  


What are the GPC and the GPT? Where can I find them?

2 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)