Browse Source

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

tags/release-1.5.2
Thomas Schmitt 1 year ago
parent
commit
042fe178bf
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      cdrskin/cdrskin_timestamp.h
  2. +3
    -1
      libburn/async.c

+ 1
- 1
cdrskin/cdrskin_timestamp.h View File

@@ -1 +1 @@
#define Cdrskin_timestamP "2018.10.10.160024"
#define Cdrskin_timestamP "2018.10.10.160301"

+ 3
- 1
libburn/async.c View File

@@ -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)) {


Loading…
Cancel
Save