Channel circle › core 3 Thread
3 Thread: core-level functions
The functions that make up the core channel itself.
34 functions
| Signature | Purpose | Source | Scope |
|---|---|---|---|
| struct ThreadChannel * OpenThreadChannel(void) | OpenThreadChannel | ThreadChannel.c:33 | public |
| static struct ThreadGPUWorker * GPUWorkerAt(uint32_t slot1) | (no comment) | ThreadChannel.c:119 | static |
| static int GPUWorkerMain(void *arg) | (no comment) | ThreadChannel.c:125 | static |
| uint32_t GPUThreadQueued(uint32_t slot1) | (no comment) | ThreadChannel.c:150 | public |
| static void GPUWorkerRelease(struct ThreadGPUWorker *w) | (no comment) | ThreadChannel.c:161 | static |
| static int GPUThreadOp(uint32_t op, uint32_t a, uint64_t b) | (no comment) | ThreadChannel.c:176 | static |
| static void GPUThreadsReleaseAll(void) | (no comment) | ThreadChannel.c:250 | static |
| void CloseThreadChannel(struct ThreadChannel *tc) | CloseThreadChannel | ThreadChannel.c:261 | public |
| struct NetXecThread * GetNetXecThread(const char *name, int (*func)(void *), void *data) | GetNetXecThread � create or reuse a thread | ThreadChannel.c:299 | public |
| void CloseNetXecThread(struct NetXecThread *t) | CloseNetXecThread � does NOT free runinfo or lock (channel owns them) | ThreadChannel.c:388 | public |
| void SetWaitTime(struct NetXecThread *t, int32_t ms) | SetWaitTime � writes through to the owning channel's RunInfo | ThreadChannel.c:410 | public |
| uint32_t ThreadChannelCount(const struct ThreadChannel *tc) | Info and control | ThreadChannel.c:420 | public |
| uint32_t ThreadChannelPeak(const struct ThreadChannel *tc) | (no comment) | ThreadChannel.c:425 | public |
| struct NetXecThread * ThreadChannelFind(struct ThreadChannel *tc, const char *name) | (no comment) | ThreadChannel.c:430 | public |
| struct NetXecThread * ThreadChannelFindById(struct ThreadChannel *tc, uint64_t id) | (no comment) | ThreadChannel.c:440 | public |
| int ThreadChannelSnapshot(struct ThreadChannel *tc, struct NetXecThread **out, uint32_t max, uint32_t *count) | (no comment) | ThreadChannel.c:450 | public |
| void ThreadChannelShow(const struct ThreadChannel *tc) | (no comment) | ThreadChannel.c:464 | public |
| void ThreadChannelShowThread(const struct NetXecThread *t) | (no comment) | ThreadChannel.c:475 | public |
| int PodThreadFromLocal(struct ThreadChannel *tc, const struct NetXecThread *t, struct PodThread *out) | PodThread � serialize / deserialize (portable form) | ThreadChannel.c:489 | public |
| int PodThreadToLocal(struct ThreadChannel *tc, const struct PodThread *pt) | (no comment) | ThreadChannel.c:519 | public |
| int PodThreadSign(struct PodThread *pt, const uint8_t pod_sign_key[64]) | (no comment) | ThreadChannel.c:528 | public |
| int PodThreadVerify(const struct PodThread *pt, const uint8_t pod_pub_key[2592]) | (no comment) | ThreadChannel.c:535 | public |
| void PodThreadShow(const struct PodThread *pt) | (no comment) | ThreadChannel.c:542 | public |
| 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:555 | public |
| void ThreadLockFree(struct HyperLock *hl) | (no comment) | ThreadChannel.c:564 | public |
| void ThreadLock(struct HyperLock *hl) | (no comment) | ThreadChannel.c:572 | public |
| void ThreadUnlock(struct HyperLock *hl) | (no comment) | ThreadChannel.c:573 | public |
| static int ThreadOp(struct ThreadChannel *c, uint32_t op, uint32_t a, uint64_t b) | (no comment) | ThreadChannel.c:579 | static |
| static void ThreadRd(struct ThreadChannel *c, uint32_t *m, uint32_t *a, uint64_t *b) | (no comment) | ThreadChannel.c:585 | static |
| void * ThreadLockSpawn(int (*fn)(void *), const char *name, void *arg) | (no comment) | ThreadChannel.c:591 | public |
| void ThreadLockJoin(void *handle) | (no comment) | ThreadChannel.c:596 | public |
| int ThreadLockAtomicAdd(int *a, int v) | (no comment) | ThreadChannel.c:600 | public |
| int ThreadLockAtomicGet(int *a) | (no comment) | ThreadChannel.c:601 | public |
| int ThreadLockAtomicSet(int *a, int v) | (no comment) | ThreadChannel.c:602 | public |