#include "lib/misc.h"
#include "ut/ut.h"
#include "lib/ub.h"
#include "lib/thread.h"
#include "lib/bitmap.h"
#include "lib/assert.h"
#include "lib/memory.h"
#include "lib/semaphore.h"
#include "module/instance.h"
#include <pthread.h>
Go to the source code of this file.
◆ anonymous enum
◆ anonymous enum
◆ adopted()
static void* adopted |
( |
void * |
arg | ) |
|
|
static |
◆ forty_two_func()
static void forty_two_func |
( |
const char * |
s | ) |
|
|
static |
◆ lambda42_func()
static void lambda42_func |
( |
int |
x | ) |
|
|
static |
◆ lambda42_init()
static int lambda42_init |
( |
int |
x | ) |
|
|
static |
◆ lambda_42_func()
static void lambda_42_func |
( |
int |
x | ) |
|
|
static |
◆ lambda_42_init()
static int lambda_42_init |
( |
int |
x | ) |
|
|
static |
◆ set_and_check_is_awkward()
static void set_and_check_is_awkward |
( |
void |
| ) |
|
|
static |
◆ t0()
◆ t2()
◆ t3()
◆ test_adopt()
static void test_adopt |
( |
void |
| ) |
|
|
static |
◆ test_is_awkward()
void test_is_awkward |
( |
void |
| ) |
|
◆ test_thread()
void test_thread |
( |
void |
| ) |
|
◆ threads_set0()
static void threads_set0 |
( |
void |
| ) |
|
|
static |
◆ ub0()
◆ ub_fini()
static void ub_fini |
( |
void |
| ) |
|
|
static |
◆ ub_init()
static int ub_init |
( |
const char *opts |
M0_UNUSED | ) |
|
|
static |
◆ ub_join()
static void ub_join |
( |
int |
i | ) |
|
|
static |
◆ ub_join_all()
static void ub_join_all |
( |
void |
| ) |
|
|
static |
◆ ub_spawn()
static void ub_spawn |
( |
int |
i | ) |
|
|
static |
◆ ub_spawn_init()
static void ub_spawn_init |
( |
int |
i | ) |
|
|
static |
◆ ub_spawn_initcall()
static int ub_spawn_initcall |
( |
int |
x | ) |
|
|
static |
◆ ut_t0_handler1()
static void ut_t0_handler1 |
( |
int |
arg | ) |
|
|
static |
◆ m0_thread_ub
Initial value:= {
.us_name = "thread-ub",
.us_run = {
{ .ub_name = "spawn",
{ .ub_name = "join",
{ .ub_name = "spawn-init",
}
}
static void ub_join(int i)
static void ub_spawn(int i)
static void ub_spawn_init(int i)
static void ub_fini(void)
static int ub_init(const char *opts M0_UNUSED)
static void ub_join_all(void)
static void threads_set0(void)
Definition at line 223 of file thread.c.
◆ synch
◆ t0place
◆ t1place
◆ ubt