From 69e1d4a51f4489e0c8b554264c57b8b6f543c619 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Sat, 26 Jan 2008 18:03:36 +0000 Subject: [PATCH] Disabled debugging messages about thread properties --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/async.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 41d7e58..d0a0d1d 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2008.01.26.131519" +#define Cdrskin_timestamP "2008.01.26.180241" diff --git a/libburn/async.c b/libburn/async.c index ff67865..ff801af 100644 --- a/libburn/async.c +++ b/libburn/async.c @@ -143,9 +143,11 @@ static void add_worker(struct burn_drive *d, WorkerFunc f, void *data) pthread_attr_init(&attr); pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); attr_pt= &attr; +/* libdax_msgs_submit(libdax_messenger, -1, 0x00020158, LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_LOW, "add_worker(): Creating detached thread.", 0, 0); +*/ #endif if (pthread_create(&a->thread, attr_pt, f, a)) { @@ -178,12 +180,14 @@ static void remove_worker(pthread_t th) dispose themselves. */ ret = pthread_detach(th); +/* sprintf(msg, "remove_workers(): pid= %lu pthread_detach(%lu)= %d", (unsigned long) getpid(), (unsigned long) th, ret); libdax_msgs_submit(libdax_messenger, -1, 0x00020158, LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_LOW, msg, 0, 0); +*/ #endif /* Libburn_detach_done_workeR */