Disabled debugging messages about thread properties
This commit is contained in:
parent
05f98515bf
commit
f2c78be59c
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2008.01.26.131519"
|
#define Cdrskin_timestamP "2008.01.26.180241"
|
||||||
|
@ -143,9 +143,11 @@ static void add_worker(struct burn_drive *d, WorkerFunc f, void *data)
|
|||||||
pthread_attr_init(&attr);
|
pthread_attr_init(&attr);
|
||||||
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
|
||||||
attr_pt= &attr;
|
attr_pt= &attr;
|
||||||
|
/*
|
||||||
libdax_msgs_submit(libdax_messenger, -1, 0x00020158,
|
libdax_msgs_submit(libdax_messenger, -1, 0x00020158,
|
||||||
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_LOW,
|
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_LOW,
|
||||||
"add_worker(): Creating detached thread.", 0, 0);
|
"add_worker(): Creating detached thread.", 0, 0);
|
||||||
|
*/
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (pthread_create(&a->thread, attr_pt, f, a)) {
|
if (pthread_create(&a->thread, attr_pt, f, a)) {
|
||||||
@ -178,12 +180,14 @@ static void remove_worker(pthread_t th)
|
|||||||
dispose themselves.
|
dispose themselves.
|
||||||
*/
|
*/
|
||||||
ret = pthread_detach(th);
|
ret = pthread_detach(th);
|
||||||
|
/*
|
||||||
sprintf(msg,
|
sprintf(msg,
|
||||||
"remove_workers(): pid= %lu pthread_detach(%lu)= %d",
|
"remove_workers(): pid= %lu pthread_detach(%lu)= %d",
|
||||||
(unsigned long) getpid(), (unsigned long) th, ret);
|
(unsigned long) getpid(), (unsigned long) th, ret);
|
||||||
libdax_msgs_submit(libdax_messenger, -1, 0x00020158,
|
libdax_msgs_submit(libdax_messenger, -1, 0x00020158,
|
||||||
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_LOW,
|
LIBDAX_MSGS_SEV_DEBUG, LIBDAX_MSGS_PRIO_LOW,
|
||||||
msg, 0, 0);
|
msg, 0, 0);
|
||||||
|
*/
|
||||||
|
|
||||||
#endif /* Libburn_detach_done_workeR */
|
#endif /* Libburn_detach_done_workeR */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user