Home
last modified time | relevance | path

Searched refs:returnToPoolAction (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/csharp/Grpc.Core/Internal/
DRequestCallContextSafeHandle.cs34 Action<RequestCallContextSafeHandle> returnToPoolAction; field in Grpc.Core.Internal.RequestCallContextSafeHandle
56 GrpcPreconditions.CheckState(returnToPoolAction == null); in SetReturnToPoolAction()
57 returnToPoolAction = returnAction; in SetReturnToPoolAction()
85 if (returnToPoolAction != null) in Recycle()
89 var origReturnAction = returnToPoolAction; in Recycle()
92 returnToPoolAction = null; in Recycle()
DBatchContextSafeHandle.cs41 Action<BatchContextSafeHandle> returnToPoolAction; field in Grpc.Core.Internal.BatchContextSafeHandle
64 GrpcPreconditions.CheckState(returnToPoolAction == null); in SetReturnToPoolAction()
65 returnToPoolAction = returnAction; in SetReturnToPoolAction()
117 if (returnToPoolAction != null) in Recycle()
121 var origReturnAction = returnToPoolAction; in Recycle()
124 returnToPoolAction = null; in Recycle()