Motr  M0
thread.c File Reference
#include <stdarg.h>
#include <stdio.h>
#include "lib/thread.h"
#include "lib/misc.h"
#include "module/instance.h"
#include "addb2/global.h"
Include dependency graph for thread.c:

Go to the source code of this file.

Functions

int m0_thread_init (struct m0_thread *q, int(*init)(void *), void(*func)(void *), void *arg, const char *namefmt,...)
 
void m0_thread_fini (struct m0_thread *q)
 
M0_INTERNAL void * m0_thread_trampoline (void *arg)
 
M0_INTERNAL struct m0_threadm0_thread_self (void)
 
M0_INTERNAL int m0_thread_adopt (struct m0_thread *thread, struct m0 *instance)
 
M0_INTERNAL void m0_thread_shun (void)