优化futex

This commit is contained in:
zhangzheng
2023-11-27 21:47:05 +08:00
parent d1cfcedc67
commit 5fc71a7f98
9 changed files with 182 additions and 83 deletions

View File

@@ -22,23 +22,23 @@ extern void futex_init(void);
int main(int argc, char *args[])
{
ulog_write_str(LOG_PROT, "init..\n");
#if 1
// ulog_test();
// factory_test();
// printf_test();
// thread_exit_test();
// map_test();
#if 0
ulog_test();
factory_test();
printf_test();
thread_exit_test();
map_test();
// mm_test();
// app_test();
// mpu_test();
// thread_press_test();
// kobj_create_press_test();
// pthread_cond_lock_test();
// pthread_lock_test();
// u_sleep_ms(1000);
// ipc_test();
// ipc_obj_test();
mm_test();
app_test();
mpu_test();
thread_press_test();
kobj_create_press_test();
u_sleep_ms(1000);
ipc_test();
ipc_obj_test();
pthread_cond_lock_test();
pthread_lock_test();
#endif
uenv_t env = *u_get_global_env();
env.ns_hd = namespace_init();