clipper icon indicating copy to clipboard operation
clipper copied to clipboard

Fix potential deadlock when deleting queue

Open robberlang opened this issue 5 years ago • 1 comments

This fixes Issue #758 by using an upgrade lock.

As well, it makes RPCService::send_message thread-safe by using atomic int, and removes a redundant call to TaskExecutionThreadPool::create_queue and uses std::unique_ptr rather than the unnecessary shared_ptr for the request queue in RPCService.

robberlang avatar Dec 01 '19 15:12 robberlang

Can one of the admins verify this patch?

AmplabJenkins avatar Dec 01 '19 15:12 AmplabJenkins