4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-18 13:03:31 +08:00

add tc_done()

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2381 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
nongli1031@gmail.com 2012-10-30 01:13:54 +00:00
parent aa0d3695e1
commit 6773015c4a

View File

@ -101,9 +101,9 @@ static void _tc_cleanup()
rt_thread_delete(worker);
if (t1_count > t2_count)
tc_stat(TC_STAT_FAILED);
tc_done(TC_STAT_FAILED);
else
tc_stat(TC_STAT_PASSED);
tc_done(TC_STAT_PASSED);
/* unlock scheduler */
rt_exit_critical();