diff options
author | Craig Tiller <ctiller@google.com> | 2015-02-18 15:51:50 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-02-18 15:51:50 -0800 |
commit | 2d11c93ab548e359414efdbc5fcd013e8c5779ff (patch) | |
tree | c22a17bc2a71f9d5c42cb1b1a1e232c9913d5b74 /src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs | |
parent | d24d13d6eb295f263ffca3def45dd6dc4b053ced (diff) | |
parent | c7851cf0554dde7d04526de8637217b8873c9300 (diff) |
Merge github.com:grpc/grpc into an-update-on-c++
Diffstat (limited to 'src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs')
-rw-r--r-- | src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs b/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs index 666f220b8c..5ea436df19 100644 --- a/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs +++ b/src/csharp/GrpcCore/Internal/CompletionQueueSafeHandle.cs @@ -46,12 +46,6 @@ namespace Google.GRPC.Core.Internal static extern CompletionQueueSafeHandle grpcsharp_completion_queue_create(); [DllImport("grpc_csharp_ext.dll")] - static extern EventSafeHandle grpcsharp_completion_queue_pluck(CompletionQueueSafeHandle cq, IntPtr tag, Timespec deadline); - - [DllImport("grpc_csharp_ext.dll")] - static extern EventSafeHandle grpcsharp_completion_queue_next(CompletionQueueSafeHandle cq, Timespec deadline); - - [DllImport("grpc_csharp_ext.dll")] static extern void grpcsharp_completion_queue_shutdown(CompletionQueueSafeHandle cq); [DllImport("grpc_csharp_ext.dll")] @@ -69,21 +63,11 @@ namespace Google.GRPC.Core.Internal return grpcsharp_completion_queue_create(); } - public EventSafeHandle Next(Timespec deadline) - { - return grpcsharp_completion_queue_next(this, deadline); - } - public GRPCCompletionType NextWithCallback() { return grpcsharp_completion_queue_next_with_callback(this); } - public EventSafeHandle Pluck(IntPtr tag, Timespec deadline) - { - return grpcsharp_completion_queue_pluck(this, tag, deadline); - } - public void Shutdown() { grpcsharp_completion_queue_shutdown(this); |