[feature] make scratch_par thread-safe
Add mutex to make request creation and destruction thread-safe. As for scratch_seq, we need to deal both with requests and tiles during these functions, so we lock the entire section.
Showing
Please register or sign in to comment