MultiverseSocial.com

Channel circle › core 3 Thread

3 Thread: core-level functions

The functions that make up the core channel itself.

34 functions
SignaturePurposeSourceScope
struct ThreadChannel * OpenThreadChannel(void)OpenThreadChannelThreadChannel.c:33public
static struct ThreadGPUWorker * GPUWorkerAt(uint32_t slot1)(no comment)ThreadChannel.c:119static
static int GPUWorkerMain(void *arg)(no comment)ThreadChannel.c:125static
uint32_t GPUThreadQueued(uint32_t slot1)(no comment)ThreadChannel.c:150public
static void GPUWorkerRelease(struct ThreadGPUWorker *w)(no comment)ThreadChannel.c:161static
static int GPUThreadOp(uint32_t op, uint32_t a, uint64_t b)(no comment)ThreadChannel.c:176static
static void GPUThreadsReleaseAll(void)(no comment)ThreadChannel.c:250static
void CloseThreadChannel(struct ThreadChannel *tc)CloseThreadChannelThreadChannel.c:261public
struct NetXecThread * GetNetXecThread(const char *name, int (*func)(void *), void *data)GetNetXecThread � create or reuse a threadThreadChannel.c:299public
void CloseNetXecThread(struct NetXecThread *t)CloseNetXecThread � does NOT free runinfo or lock (channel owns them)ThreadChannel.c:388public
void SetWaitTime(struct NetXecThread *t, int32_t ms)SetWaitTime � writes through to the owning channel's RunInfoThreadChannel.c:410public
uint32_t ThreadChannelCount(const struct ThreadChannel *tc)Info and controlThreadChannel.c:420public
uint32_t ThreadChannelPeak(const struct ThreadChannel *tc)(no comment)ThreadChannel.c:425public
struct NetXecThread * ThreadChannelFind(struct ThreadChannel *tc, const char *name)(no comment)ThreadChannel.c:430public
struct NetXecThread * ThreadChannelFindById(struct ThreadChannel *tc, uint64_t id)(no comment)ThreadChannel.c:440public
int ThreadChannelSnapshot(struct ThreadChannel *tc, struct NetXecThread **out, uint32_t max, uint32_t *count)(no comment)ThreadChannel.c:450public
void ThreadChannelShow(const struct ThreadChannel *tc)(no comment)ThreadChannel.c:464public
void ThreadChannelShowThread(const struct NetXecThread *t)(no comment)ThreadChannel.c:475public
int PodThreadFromLocal(struct ThreadChannel *tc, const struct NetXecThread *t, struct PodThread *out)PodThread � serialize / deserialize (portable form)ThreadChannel.c:489public
int PodThreadToLocal(struct ThreadChannel *tc, const struct PodThread *pt)(no comment)ThreadChannel.c:519public
int PodThreadSign(struct PodThread *pt, const uint8_t pod_sign_key[64])(no comment)ThreadChannel.c:528public
int PodThreadVerify(const struct PodThread *pt, const uint8_t pod_pub_key[2592])(no comment)ThreadChannel.c:535public
void PodThreadShow(const struct PodThread *pt)(no comment)ThreadChannel.c:542public
int ThreadLockInit(struct HyperLock *hl, const char *name_unused)HyperView-C: channel lock primitives (see thread.h). Channels call these instead of SDL directly.ThreadChannel.c:555public
void ThreadLockFree(struct HyperLock *hl)(no comment)ThreadChannel.c:564public
void ThreadLock(struct HyperLock *hl)(no comment)ThreadChannel.c:572public
void ThreadUnlock(struct HyperLock *hl)(no comment)ThreadChannel.c:573public
static int ThreadOp(struct ThreadChannel *c, uint32_t op, uint32_t a, uint64_t b)(no comment)ThreadChannel.c:579static
static void ThreadRd(struct ThreadChannel *c, uint32_t *m, uint32_t *a, uint64_t *b)(no comment)ThreadChannel.c:585static
void * ThreadLockSpawn(int (*fn)(void *), const char *name, void *arg)(no comment)ThreadChannel.c:591public
void ThreadLockJoin(void *handle)(no comment)ThreadChannel.c:596public
int ThreadLockAtomicAdd(int *a, int v)(no comment)ThreadChannel.c:600public
int ThreadLockAtomicGet(int *a)(no comment)ThreadChannel.c:601public
int ThreadLockAtomicSet(int *a, int v)(no comment)ThreadChannel.c:602public

Core 3 in the full manual

The > Web 4 < Channel Paradigm · full manual · privacy · contact

Hits--