Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/cloudberry
/ pthread_self
Function
pthread_self
src/interfaces/libpq/pthread-win32.c:17–21 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
#include
"pthread-win32.h"
16
17
DWORD
18
pthread_self(void)
19
{
20
return GetCurrentThreadId();
21
}
22
23
void
24
pthread_setspecific(pthread_key_t key, void *val)
Callers
12
InitProcessId
Function · 0.85
CdbProgramErrorHandler
Function · 0.85
PostgresMain
Function · 0.85
GPMemoryProtect_Init
Function · 0.85
MemoryProtection_IsOwnerThread
Function · 0.85
AllocSetAlloc
Function · 0.85
AllocSetRealloc
Function · 0.85
MemProtTestSetup
Function · 0.85
write_log
Function · 0.85
pq_threadidcallback
Function · 0.85
MaskThreadSignals
Function · 0.85
UploadThreadFunc
Method · 0.85
Calls
no outgoing calls
Tested by
1
MemProtTestSetup
Function · 0.68