/* Check the parameters passed to thread entry function. 
Create an user thread and pass 2 variables and a semaphore to a thread entry function. Check for the correctness of the parameters passed. */
ZTEST_USER(threads_lifecycle, test_threads_spawn_params)
/* Check the parameters passed to thread entry function. 
Create an user thread and pass 2 variables and a semaphore to a thread entry function. Check for the correctness of the parameters passed. */
ZTEST_USER(threads_lifecycle, test_threads_spawn_params)
{
	k_thread_create(&tdata, tstack, STACK_SIZE, thread_entry_params,
			tp1, INT_TO_POINTER(tp2), tp3, 0,
			K_USER, K_NO_WAIT);
	k_msleep(100);
}