ocs_thread_t
({ocs_thread_t *self = ocs_thread_self(); self != NULL ? self->name : "unknown";}), ocs_thread_getcpu());
ocs_thread_t iopt_thread;
ocs_thread_t *thread = arg;
ocs_thread_create(ocs_os_handle_t os, ocs_thread_t *thread, ocs_thread_fctn fctn, const char *name, void *arg, ocs_thread_start_e start)
int32_t ocs_thread_start(ocs_thread_t *thread)
void *ocs_thread_get_arg(ocs_thread_t *mythread)
ocs_thread_terminate(ocs_thread_t *thread)
int32_t ocs_thread_terminate_requested(ocs_thread_t *thread)
ocs_thread_get_retval(ocs_thread_t *thread)
ocs_thread_yield(ocs_thread_t *thread) {
ocs_thread_t *
ocs_thread_setcpu(ocs_thread_t *thread, uint32_t cpu)
extern int32_t ocs_thread_start(ocs_thread_t *thread);
extern void *ocs_thread_get_arg(ocs_thread_t *mythread);
extern int32_t ocs_thread_terminate(ocs_thread_t *thread);
extern int32_t ocs_thread_terminate_requested(ocs_thread_t *thread);
extern int32_t ocs_thread_get_retval(ocs_thread_t *thread);
extern void ocs_thread_yield(ocs_thread_t *thread);
extern ocs_thread_t *ocs_thread_self(void);
extern int32_t ocs_thread_setcpu(ocs_thread_t *thread, uint32_t cpu);
typedef int32_t (*ocs_thread_fctn)(ocs_thread_t *mythread);
extern int32_t ocs_thread_create(ocs_os_handle_t os, ocs_thread_t *thread, ocs_thread_fctn fctn,
ocs_unsol_rq_thread(ocs_thread_t *mythread)
extern int32_t ocs_unsol_rq_thread(ocs_thread_t *mythread);
ocs_thread_t thread;