MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / get_thread_friendly_id

Function get_thread_friendly_id

tests/unit/test_thread_pools.c:23–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include "acutest.h"
22
23static void get_thread_friendly_id(void *arg) {
24 int *threadID = (int*)arg;
25 *threadID = ThreadPools_GetThreadID();
26}
27
28void test_threadPools_threadID() {
29 ThreadPools_CreatePools(READER_COUNT, WRITER_COUNT, UINT64_MAX);

Callers

nothing calls this directly

Calls 1

ThreadPools_GetThreadIDFunction · 0.85

Tested by

no test coverage detected