1Title: Test workqueue APIs 2 3Description: 4 5A simple application verifying the workqueue API 6 7-------------------------------------------------------------------------------- 8 9Building and Running Project: 10 11This kernel project outputs to the console. It can be built and executed 12on QEMU as follows: 13 14 make run 15 16-------------------------------------------------------------------------------- 17 18Troubleshooting: 19 20Problems caused by out-dated project information can be addressed by 21issuing one of the following commands then rebuilding the project: 22 23 make clean # discard results of previous builds 24 # but keep existing configuration info 25or 26 make pristine # discard results of previous builds 27 # and restore pre-defined configuration info 28 29-------------------------------------------------------------------------------- 30 31 32***** BOOTING ZEPHYR OS vxxxx - BUILD: xxxxx ***** 33Starting sequence test 34 - Initializing test items 35 - Submitting test items 36 - Submitting work 1 from preempt thread 37 - Running test item 1 38 - Submitting work 2 from coop thread 39 - Submitting work 3 from preempt thread 40 - Submitting work 4 from coop thread 41 - Running test item 2 42 - Submitting work 5 from preempt thread 43 - Submitting work 6 from coop thread 44 - Waiting for work to finish 45 - Running test item 3 46 - Running test item 4 47 - Running test item 5 48 - Running test item 6 49 - Checking results 50Starting resubmit test 51 - Submitting work 52 - Waiting for work to finish 53 - Resubmitting work 54 - Resubmitting work 55 - Resubmitting work 56 - Resubmitting work 57 - Resubmitting work 58 - Checking results 59Starting delayed test 60 - Initializing delayed test items 61 - Submitting delayed test items 62 - Submitting delayed work 1 from preempt thread 63 - Submitting delayed work 3 from preempt thread 64 - Submitting delayed work 5 from preempt thread 65 - Waiting for delayed work to finish 66 - Submitting delayed work 2 from coop thread 67 - Submitting delayed work 4 from coop thread 68 - Submitting delayed work 6 from coop thread 69 - Running delayed test item 1 70 - Running delayed test item 2 71 - Running delayed test item 3 72 - Running delayed test item 4 73 - Running delayed test item 5 74 - Running delayed test item 6 75 - Checking results 76Starting delayed resubmit test 77 - Submitting delayed work 78 - Waiting for work to finish 79 - Resubmitting delayed work 80 - Resubmitting delayed work 81 - Resubmitting delayed work 82 - Resubmitting delayed work 83 - Resubmitting delayed work 84 - Checking results 85Starting delayed resubmit from coop thread test 86 - Resubmitting delayed work with 1 ms 87 - Resubmitting delayed work with 1 ms 88 - Resubmitting delayed work with 1 ms 89 - Resubmitting delayed work with 1 ms 90 - Resubmitting delayed work with 1 ms 91 - Resubmitting delayed work with 1 ms 92 - Waiting for work to finish 93 - Running delayed test item 1 94 - Checking results 95Starting delayed cancel test 96 - Cancel delayed work from preempt thread 97 - Cancel delayed work from coop thread 98 - Cancel pending delayed work from coop thread 99 - Waiting for work to finish 100 - Checking results 101=================================================================== 102PASS - main. 103=================================================================== 104PROJECT EXECUTION SUCCESSFUL 105