Commit 042fe178 authored by Thomas Schmitt's avatar Thomas Schmitt

Bug fix: No lock was obtained for setting up a fifo object

parent af65852d
#define Cdrskin_timestamP "2018.10.10.160024"
#define Cdrskin_timestamP "2018.10.10.160301"
......@@ -122,6 +122,8 @@ struct w_list
static struct w_list *workers = NULL;
static void *fifo_worker_func(struct w_list *w);
int burn_async_manage_lock(int mode)
{
......@@ -209,7 +211,7 @@ static void add_worker(int w_type, struct burn_drive *d,
#endif /* Libburn_create_detached_threadS */
/* Worker specific locks are to be released early by the worker */
if (f == (WorkerFunc) burn_fifo_source_shoveller)
if (f == (WorkerFunc) fifo_worker_func)
burn_async_manage_lock(BURN_ASYNC_LOCK_OBTAIN);
if (pthread_create(&a->thread, attr_pt, f, a)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment