[jcifs] DcerpcHandle thread safety

Mateusz Kołodziej mateusz.kolodziej at outlook.com
Fri Jan 9 02:02:33 MST 2015


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
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20150109/9ccae70e/attachment.html>


More information about the jCIFS mailing list