aspose file tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Doubt in Thread.yield() 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)
Reply Bookmark "Doubt in Thread.yield()" Watch "Doubt in Thread.yield()" New topic
Author

Doubt in Thread.yield()

Sreeraj Harilal
Ranch Hand

Joined: May 09, 2006
Posts: 45
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
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
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