GRPC Core  10.0.0
Typedefs | Functions
thd_id.h File Reference
#include <grpc/support/port_platform.h>

Go to the source code of this file.

Typedefs

typedef uintptr_t gpr_thd_id
 Thread ID interface for GPR. More...
 

Functions

GPRAPI gpr_thd_id gpr_thd_currentid (void)
 Returns the identifier of the current thread. More...
 

Typedef Documentation

◆ gpr_thd_id

typedef uintptr_t gpr_thd_id

Thread ID interface for GPR.

Used by some wrapped languages for logging purposes.

Types gpr_thd_id a unique opaque identifier for a thread.

Function Documentation

◆ gpr_thd_currentid()

GPRAPI gpr_thd_id gpr_thd_currentid ( void  )

Returns the identifier of the current thread.