Socket « Thread Safe « Java Thread Q&A

Home
Java Thread Q&A
1.concurrency
2.Development
3.Exception
4.Notify
5.Operation
6.Socket
7.State
8.synchronize
9.Thread Safe
10.ThreadPool
Java Thread Q&A » Thread Safe » Socket 

1. Is a Java socket's PrintWriter thread safe?    stackoverflow.com

So, I have two threads. Thread one manages the client connections. (There is only one client and one server)
I call it my server thread. Thread two manages sending messages to the ...

2. Filedialog is killing my thread    stackoverflow.com

Im working on a socket program in Java. Im running a GUI with a socket server in the background. The socket server is running a thread that checks for socket messages every 10ms. Both ...

3. in what way is java.net.Socket threadsafe?    stackoverflow.com

I have a Socket that I am both reading and writing to, via BufferedReaders and BufferedWriters. I'm not sure which operations are okay to do from separate threads. I would guess ...

4. Is Socket.isConnected() Thread Safe?    coderanch.com

Hi, I did some subtle reasoning about thread safety and visibility while implementing a TCP socket connection pool using apache.commons.pool library., and I would like to share it with you to check if my thoughts are right. The objects I am putting into the pool are not plain java Sockets, but wrapper objects around a Socket I called "EVLConnection". Before returning ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.