• J
    Guard the service protocol's global handlers list with a reader/writer lock (#6888) (#6895) · fd0911cc
    Jason Simmons 提交于
    The service protocol holds the lock while waiting for completion of service
    RPC tasks.  These tasks (specifically hot restart/RunInView) may need to
    modify a handler's description data.
    
    Task execution and ServiceProtocol::SetHandlerDescription will obtain a shared
    lock to make this possible.  AddHandler and RemoveHandler will obtain an
    exclusive lock in order to guard against a handler being deleted while a
    service task is running.
    fd0911cc
BUILD.gn 5.2 KB