Return to aitsched.c CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / libaitsched / src |
version 1.27, 2015/07/02 22:45:00 | version 1.27.4.1, 2015/07/19 23:19:41 |
---|---|
Line 382 schedEnd(sched_root_task_t ** __restrict root) | Line 382 schedEnd(sched_root_task_t ** __restrict root) |
#ifdef HAVE_LIBPTHREAD | #ifdef HAVE_LIBPTHREAD |
for (i = 0; i < taskMAX; i++) { | for (i = 0; i < taskMAX; i++) { |
SCHED_QTRYLOCK(*root, i); | |
SCHED_QUNLOCK(*root, i); | SCHED_QUNLOCK(*root, i); |
pthread_mutex_destroy(&(*root)->root_mtx[i]); | pthread_mutex_destroy(&(*root)->root_mtx[i]); |
} | } |