|
| K_HEAP_DEFINE (mpool,(4 *16) *1) |
|
| K_PIPE_DEFINE (kpipe,(4 *16), 4) |
|
| K_PIPE_DEFINE (khalfpipe,((4 *16)/2), 4) |
|
| K_PIPE_DEFINE (kpipe1,(4 *16), 4) |
|
| K_PIPE_DEFINE (pipe_test_alloc,(4 *16), 4) |
|
| K_PIPE_DEFINE (ksmallpipe, 10, 2) |
|
| K_THREAD_STACK_DEFINE (tstack,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
| K_THREAD_STACK_DEFINE (tstack1,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
| K_THREAD_STACK_DEFINE (tstack2,(1024+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
| K_SEM_DEFINE (end_sema, 0, 1) |
|
| K_HEAP_DEFINE (test_pool, 128 *4) |
|
static void | tpipe_put (struct k_pipe *ppipe, k_timeout_t timeout) |
|
static void | tpipe_get (struct k_pipe *ppipe, k_timeout_t timeout) |
|
static void | tThread_entry (void *p1, void *p2, void *p3) |
|
static void | tpipe_thread_thread (struct k_pipe *ppipe) |
|
static void | tpipe_kthread_to_kthread (struct k_pipe *ppipe) |
|
static void | tpipe_put_no_wait (struct k_pipe *ppipe) |
|
static void | tpipe_put_small_size (struct k_pipe *ppipe, k_timeout_t timeout) |
|
static void | tpipe_get_small_size (struct k_pipe *ppipe, k_timeout_t timeout) |
|
static void | tpipe_get_large_size (struct k_pipe *ppipe, k_timeout_t timeout) |
|
void | test_pipe_alloc (void) |
| Test Initialization and buffer allocation of pipe, with various parameters. More...
|
|
static void | thread_for_get_forever (void *p1, void *p2, void *p3) |
|
void | test_pipe_cleanup (void) |
|
static void | thread_handler (void *p1, void *p2, void *p3) |
|
void | test_pipe_thread2thread (void) |
| Test pipe data passing between threads. More...
|
|
void | test_pipe_user_thread2thread (void) |
| Test data passing using pipes between user threads. More...
|
|
void | test_resource_pool_auto_free (void) |
| Test resource pool free. More...
|
|
static void | tThread_half_pipe_put (void *p1, void *p2, void *p3) |
|
static void | tThread_half_pipe_get (void *p1, void *p2, void *p3) |
|
void | test_half_pipe_put_get (void) |
| Test put/get with smaller pipe buffer. More...
|
|
void | test_pipe_get_put (void) |
|
void | test_pipe_get_large (void) |
|
void | test_pipe_reader_wait (void) |
| Test pending reader in pipe. More...
|
|