strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc5fd7
)
- added logging when destroying
author
Jan Hutter
<jhutter@hsr.ch>
Tue, 22 Nov 2005 11:52:40 +0000
(11:52 -0000)
committer
Jan Hutter
<jhutter@hsr.ch>
Tue, 22 Nov 2005 11:52:40 +0000
(11:52 -0000)
Source/charon/scheduler.c
patch
|
blob
|
history
diff --git
a/Source/charon/scheduler.c
b/Source/charon/scheduler.c
index
6787e11
..
641d0f3
100644
(file)
--- a/
Source/charon/scheduler.c
+++ b/
Source/charon/scheduler.c
@@
-82,9
+82,11
@@
static void scheduler_thread_function(private_scheduler_t * this)
*/
static status_t destroy(private_scheduler_t *this)
{
+ this->logger->log(this->logger, CONTROL | MORE, "Going to terminate scheduler thread");
pthread_cancel(this->assigned_thread);
pthread_join(this->assigned_thread, NULL);
+ this->logger->log(this->logger, CONTROL | MORE, "Scheduler thread terminated");
global_logger_manager->destroy_logger(global_logger_manager, this->logger);