Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
sofia-sip
Commits
45a004d0
Commit
45a004d0
authored
Dec 02, 2005
by
Pekka Pessi
Browse files
Removed debugging printf()s.
darcs-hash:20051202081535-65a35-44b21053e084d386ae0c3c40f232ba6c9ce28597.gz
parent
eface52f
Changes
1
Hide whitespace changes
Inline
Side-by-side
libsofia-sip-ua/su/su_root.c
View file @
45a004d0
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment