/* A thread sleeps then puts data on the lifo.  */
static void test_thread_put_timeout(void *p1, void *p2, void *p3)
/* A thread sleeps then puts data on the lifo.  */
static void test_thread_put_timeout(void *p1, void *p2, void *p3)
{
	uint32_t timeout = *((uint32_t *)p2);
	k_msleep(timeout);
	k_lifo_put((struct k_lifo *)p1, get_scratch_packet());
}