christoph2 / pyxcp

ASAM XCP in Python
http://pyxcp.rtfd.org
GNU Lesser General Public License v3.0
197 stars 63 forks source link

allow only one thread to send/receive XCP commands #134

Closed danielhrisca closed 1 year ago

danielhrisca commented 1 year ago

Types of changes

If two threads are sending XCP commands then it can happen that a thread gets the reply meant for the other one from the respQueue. Using the lock each XCP command is completed before another one can be issued