int thread_tests(void)
{
	mutex_test();
	event_test();

	thread_sleep(200);
	context_switch_test();

	atomic_test();

	return 0;
}
Exemplo n.º 2
0
int thread_tests(void)
{
	mutex_test();
	semaphore_test();
	event_test();

	spinlock_test();
	atomic_test();

	thread_sleep(200);
	context_switch_test();

	preempt_test();

	join_test();

	return 0;
}