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

Removed debugging printf()s.

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());
su_root_destroy(self); /* Cleanup root */
printf("Ready to zap port from %p\n", pthread_self());
SU_PORT_ZAPREF(port, su_clone_main);
printf("Ready to exit from %p\n", pthread_self());
return NULL;
......@@ -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);
printf("Ready to join(%p)\n", clone_tid);
if (!pthread_equal(clone_tid, pthread_self()))
pthread_join(clone_tid, NULL);
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