Remove mutex declaration

pull/37762/head
Yousuk Seung 2 months ago
parent 9efcdc232b
commit 945eca9c6a
  1. 7
      src/python/grpcio/grpc/_cython/_cygrpc/credentials.pyx.pxi

@ -66,13 +66,6 @@ cdef int _get_metadata(void *state,
return 0 # Asynchronous return
cdef extern from "<mutex>" namespace "std" nogil:
cdef cppclass mutex:
mutex()
void lock()
void unlock()
# Protects access to GIL from _destroy() and to g_shutting_down.
cdef mutex g_shutdown_mu
cdef int g_shutting_down = 0

Loading…
Cancel
Save