mirror of https://github.com/grpc/grpc.git
Revert "[EventEngine] Return correct value EventEngine::IsWorkerThread and use this value in completion queue handling to correctly offload work" (#32656)
Reverts grpc/grpc#32637 Apologies for not catching this before submission. I continue to think that IsWorkerThread as an EventEngine member function is a poor API choice: it implies that the thread is a thread for the referenced event engine, and that's not what we're returning, and also rarely useful. If we want this concept in the API it should be a static function with a way of registering a thread into the set. I however firmly believe we'll do better long term if we abandon the concept of being able to identify from outside who created a thread and instead solve problems in other ways.pull/32664/head
parent
522bed8cc6
commit
91d64a3774
5 changed files with 5 additions and 15 deletions
Loading…
Reference in new issue