Add thread queue tests

This commit is contained in:
Nils O. Selåsdal
2012-11-12 22:18:04 +01:00
parent a4c80d1c76
commit 1eda2f8a53
3 changed files with 172 additions and 1 deletions
+1 -1
View File
@@ -175,7 +175,7 @@ int uc_thread_queue_walk(struct uc_threadqueue *queue, uc_thread_queue_walk_func
}
//maybe caller should supply a callback for cleaning the elements ?
int uc_thread_queue_cleanup(struct uc_threadqueue *queue, uc_thread_queue_walk_func free_func)
int uc_thread_queue_destroy(struct uc_threadqueue *queue, uc_thread_queue_walk_func free_func)
{
int rc;