DcerpcHandle thread safety
Mateusz KoĆodziej <[email protected]> Fri, 9 Jan 2015 10:02:33 +0100
| Newsgroups | gmane.network.samba.java |
|---|---|
| Message-ID | <[email protected]> |
Hi
Is class DcerpcHandle thread safe?
There is a field:
private static int call_id = 1; and a method: public void sendrecv(DcerpcMessage msg){ ... msg.call_id = call_id++;...}
I guess it is not thread safe. Is this a bug or it will work anyway?
Thanks