[prev in list] [next in list] [prev in thread] [next in thread] 

List:       tomcat-user
Subject:    Re: websocket thread safe send??
From:       Mark Thomas <markt () apache ! org>
Date:       2017-02-21 19:58:13
Message-ID: 4298767a-c826-61e9-d9c8-dd4c8a373b9a () apache ! org
[Download RAW message or body]

On 21/02/2017 14:17, Cristian Lorenzetto wrote:
> i have a question.
> 
> I have multiple threads sending a message in a unique connection.
> 
> Send api is thread safe?

What does the documentation say? Hint: read the specification and the
relevant JavaDoc.

Mark

> 
> if it is not thread safe it is better to use synchronize or a queue?
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic