what is the Yield() method used in threads?
Answers were Sorted based on User's Feedback
Answer / pankaj malik
Causes the currently executing thread object to temporarily
pause and allow other threads to execute
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / chikku
This static method is essentially used to notify the system that the current thread is willing to "give up the CPU" for a while. The general idea is that:
The thread scheduler will select a different thread to run instead of the current one.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / manikandan [ gtec,vellore ]
after invoking yeild() method it enters into a ready state.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / sasirekha
yield method will allow other thread to execute.
Is This Answer Correct ? | 2 Yes | 2 No |
What do you mean by constructor?
What is stringwriter?
Read data from console and print in one file. That would be in C:\temp ? Thanks, Bose
3 Answers Oracle, Surya Software,
What are bind parameters?
What are synchronized methods ?
what is the collable collections in java?
How many types of thread in java? give the name
How Array List can be Serialized.
What do you mean by scope of variable?
Is assembly language a low level language?
Which collection allows duplicate values in java?
What is Distributed Application and what is its usage?