File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes Synchronization in Thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "Synchronization in Thread " Watch "Synchronization in Thread " New topic
Author

Synchronization in Thread

Vineet Pandey
Greenhorn

Joined: May 24, 2011
Posts: 2
How many times we can synchronize a Thread.....whats the limit.....
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 18896
    
  40

Vineet Pandey wrote:How many times we can synchronize a Thread.....whats the limit.....


I don't think that there is a published limit -- a thread can synchronized with as many objects as needed.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Vineet Pandey
Greenhorn

Joined: May 24, 2011
Posts: 2
Thanks for the reply Wong......please share if you get any other info too ...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Synchronization in Thread