Mateusz Kołodziej
2015-01-09 09:02:33 UTC
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
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