Userland test programs

This commit is contained in:
Ciro Santilli
2017-05-15 09:08:16 +01:00
parent 9370512176
commit 690284a3bf
9 changed files with 29 additions and 14 deletions

View File

@@ -43,7 +43,9 @@ void cleanup_module(void)
{
/* This waits for the work to finish. From docstring: */
/* > Cancel @work and wait for its execution to finish. */
cancel_work_sync(&work);
cancel_work(&work);
/*cancel_work(&work);*/
destroy_workqueue(queue);
}