zephyr/samples/microkernel/test/test_pool
Peter Mitsis 9cc9bdcd53 mem_pool: Simplify task_mem_pool_alloc() API family
Changes the mem_pool API so that the timeout parameter must be specified
when invoking task_mem_pool_alloc() thereby obsoleting the following APIs:
	task_mem_pool_alloc_wait()
	task_mem_pool_alloc_wait_alloc()
	_task_mem_pool_alloc()

Change-Id: Ifa88f13bca98ca3c7d0e1a3b64b40a00068619e0
Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
2016-02-05 20:25:05 -05:00
..
src mem_pool: Simplify task_mem_pool_alloc() API family 2016-02-05 20:25:05 -05:00
Makefile qemu: Creation of QEMU specific platforms 2016-02-05 20:24:56 -05:00
README.txt mem_pool: Simplify task_mem_pool_alloc() API family 2016-02-05 20:25:05 -05:00
prj.mdef samples: Revise example memory pool block sizes 2016-02-05 20:14:37 -05:00
prj_arm.conf samples: remove explicit enabling of SW_ISR_TABLE/DYNAMIC 2016-02-05 20:13:45 -05:00
prj_x86.conf CONFIG_DRV_RANDOM is obsolete 2016-02-05 20:15:35 -05:00
testcase.ini initial commit for next-gen sanity checks 2016-02-05 20:14:42 -05:00

README.txt

Title: Memory Pool APIs

Description:

This test verifies that the microkernel memory pool APIs operate as expected.

--------------------------------------------------------------------------------

Building and Running Project:

This microkernel project outputs to the console.  It can be built and executed
on QEMU as follows:

    make qemu

--------------------------------------------------------------------------------

Troubleshooting:

Problems caused by out-dated project information can be addressed by
issuing one of the following commands then rebuilding the project:

    make clean          # discard results of previous builds
                        # but keep existing configuration info
or
    make pristine       # discard results of previous builds
                        # and restore pre-defined configuration info

--------------------------------------------------------------------------------

Sample Output:

tc_start() - Test Microkernel Memory Pools
Testing task_mem_pool_alloc(TICKS_NONE) ...
Testing task_mem_pool_alloc(timeout) ...
Testing task_mem_pool_alloc(TICKS_UNLIMITED) ...
Testing task_mem_pool_defragment() ...
===================================================================
PASS - RegressionTask.
===================================================================
PROJECT EXECUTION SUCCESSFUL