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?
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 |
What are the Support Tools? Why do I need them?
What are sites? What are they used for?
You want to standardize the desktop environments (wallpaper, My Documents, Start menu, printers etc.) on the computers in one department. How would you do that?
What is Server OS? What is Domain Controler?
question related to education gap and studies i would be very thankful if u guide in creating my career.i did my degree(bachelor of computer applications)from 1999 to 2002 but passed in 2007. am unemployed till now without further qulaification. how to rebuild my career. what is the option for me to do the job. how do u guide me to build my career again so that i can gt a job. which field to select. let me please know step my step process thanks...
What are GPO links? What special things can I do to them?
How do you change the DS Restore admin password?
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.
what is thinclient? why we use? and how to install thinclient? basic requirement?
i am using window xp professional on my laptop. i have 2 internet connection one is connected on network cable. other one is reliance data card, when i am browsing websites i am getting generic host svchost.exe -- application error the instruction at "0x745f2780" reference memory at "0x00000000". the memory could not be 'read' please tell me solution for that error. how can i resolve it.
what is the process to retreive emails which has been deleted in Outlook from Exchange Server?
What is forest?