Changeset f048658 in mainline


Ignore:
Timestamp:
2012-11-06T23:10:29Z (11 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c8fccf5
Parents:
205832b
Message:

Fix: cht1 test now cleans up/destroys lingering joined threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/test/cht/cht1.c

    r205832b rf048658  
    530530        for (size_t i = op_thread_cnt; i < total_thr_cnt; ++i) {
    531531                thread_join(thr[i]);
     532                thread_detach(thr[i]);
    532533                failed = pwork[i].failed || failed;
    533534        }
     
    537538                TPRINTF("%d threads remain\n", i);
    538539                thread_join(thr[i]);
     540                thread_detach(thr[i]);
    539541                failed = pwork[i].failed || failed;
    540542        }
Note: See TracChangeset for help on using the changeset viewer.