Commit 45a004d0 authored by Pekka Pessi's avatar Pekka Pessi
Browse files

Removed debugging printf()s.

darcs-hash:20051202081535-65a35-44b21053e084d386ae0c3c40f232ba6c9ce28597.gz
parent eface52f
......@@ -457,8 +457,8 @@ static void su_root_deinit(su_root_t *self)
int n_t = su_timer_reset_all(su_task_timers(self->sur_task), self->sur_task);
if (n_w || n_t)
fprintf(stderr, "su_root_deinit: "
"%u registered waits, %u timers\n", n_w, n_t);
SU_DEBUG_1(("su_root_deinit: "
"%u registered waits, %u timers\n", n_w, n_t));
}
SU_TASK_ZAP(self->sur_parent, su_root_deinit);
......@@ -927,20 +927,10 @@ static void *su_clone_main(void *varg)
su_root_run(self); /* Do the work */
printf("Ready to zap root from %p\n", pthread_self());
fflush(stdout);
su_root_destroy(self); /* Cleanup root */
printf("Ready to zap port from %p\n", pthread_self());
fflush(stdout);
SU_PORT_ZAPREF(port, su_clone_main);
printf("Ready to exit from %p\n", pthread_self());
fflush(stdout);
pthread_exit(NULL);
return NULL;
}
#endif
......@@ -1173,14 +1163,10 @@ void su_clone_wait(su_root_t *root, su_clone_r rclone)
su_root_step(root, 0);
su_root_step(root, 0);
printf("Ready to wait()\n");
while (one)
su_root_step(root, 10);
#if SU_HAVE_PTHREADS
printf("Ready to join(%p)\n", clone_tid);
if (!pthread_equal(clone_tid, pthread_self()))
pthread_join(clone_tid, NULL);
#endif
......
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