示例#1
0
文件: main.c 项目: kalmuthu/lwt
int
main(void)
{
	test_perf();
	test_crt_join_sched();
	test_perf_channels();
	test_multisend();
}
示例#2
0
int
main(void)
{
	thd_set_affinity(pthread_self(), 0);
	ps_init(&ps);
	test_slab_alloc_lkup();
	test_smr_alloc_lkup();
	test_perf();

	return 0;
}
示例#3
0
文件: main3.c 项目: kalmuthu/threads
int
main(void)
{
	test_perf();
	test_perf_channels(0);
	test_perf_async_steam(ITER/10 < 100 ? ITER/10 : 100);
	test_crt_join_sched();
	test_multisend(0);
	test_multisend(ITER/10 < 100 ? ITER/10 : 100);
	test_grpwait(0, 3);
	test_grpwait(3, 3);

	return 0;
}