Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Threads
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Paul Clapham
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Saloon Keepers:
Tim Holloway
Carey Brown
Roland Mueller
Piet Souris
Bartenders:
Forum:
Threads and Synchronization
Question about Thread-safe
Wilson Hui
Greenhorn
Posts: 6
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
is java.lang.Integer.parseInt(
String
s) thread-safe?
If not, how to make it to be thread-safe?
Thanks
Dave Vick
Ranch Hand
Posts: 3244
posted 22 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Wilson
What do you mean by
thread
safe? The method does not change anything or alter any of the variables involved so it can't be involved in any kind of deadlock situation. All it does is return an int that is represented in the passed in String.
Dave
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
question from the jweb+
ActionServlet Thread Safe
thread safe
threadsafe objects
vetor thread safe?
More...