fixed bugs with thread functions not being re-entrant
authorHolger Schemel <info@artsoft.org>
Wed, 23 Jun 2021 11:11:57 +0000 (13:11 +0200)
committerHolger Schemel <info@artsoft.org>
Wed, 23 Jun 2021 11:11:57 +0000 (13:11 +0200)
This change fixes potential problems with thread functions being
called several times in parallel (which may happen if the network
operations performed by these functions really take long). In these
cases, the thread's data structure (see previous commit) will not be
used exclusively anymore.

To fix this, the thread's data structure will be allocated separately
for each invocation of the corresponding thread function.


No differences found