A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Certification
»
Programmer Certification (SCJP/OCPJP)
Author
Doubt in Thread.yield()
Sreeraj Harilal
Ranch Hand
Joined: May 09, 2006
Posts: 45
posted
May 21, 2006 06:54:00
0
if i call Thread.yield() in a synchronized method will it give up the lock?
SCJP 5.0<br />SCWCD 1.4<br />SCBCD 1.3<br />SCEA part 1
wise owen
Ranch Hand
Joined: Feb 02, 2006
Posts: 2023
posted
May 21, 2006 07:59:00
0
Google JavaRanch in "search" and you will find more post about this question.
Here is one example post
.
Sreeraj Harilal
Ranch Hand
Joined: May 09, 2006
Posts: 45
posted
May 22, 2006 00:12:00
0
thank u wise oven
I agree. Here's the link:
http://aspose.com/file-tools
subject: Doubt in Thread.yield()
Similar Threads
Thread.Sleep
Thread.yield() method - where do we call it
problem with Threads and System resource usage , need advice on using Thread or not..
problem with Threads and System resource usage , need advice on using Thread or not..
2 thread instances using the same Runnable object
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter