Skip to content

_resources.py: Add lock to `ExecContext`

Jürg Billeter requested to merge juerg/execcontext-lock into master

Description

The code in ExecContext is executed in the gRPC thread pool, which means that it must be thread-safe.

+= and -= are not thread-safe in Python.

Merge request reports

Loading