mirror of
https://github.com/strongswan/strongswan.git
synced 2025-11-30 00:00:23 -05:00
Log worker thread ID with two digits.
This commit is contained in:
parent
c27e54a716
commit
b24287c269
@ -102,7 +102,7 @@ static void restart(private_processor_t *this)
|
||||
{
|
||||
thread_t *thread;
|
||||
|
||||
DBG2(DBG_JOB, "terminated worker thread, ID: %u", thread_current_id());
|
||||
DBG2(DBG_JOB, "terminated worker thread %.2u", thread_current_id());
|
||||
|
||||
/* respawn thread if required */
|
||||
this->mutex->lock(this->mutex);
|
||||
@ -152,7 +152,7 @@ static void process_jobs(private_processor_t *this)
|
||||
/* worker threads are not cancellable by default */
|
||||
thread_cancelability(FALSE);
|
||||
|
||||
DBG2(DBG_JOB, "started worker thread, ID: %u", thread_current_id());
|
||||
DBG2(DBG_JOB, "started worker thread %.2u", thread_current_id());
|
||||
|
||||
this->mutex->lock(this->mutex);
|
||||
while (this->desired_threads >= this->total_threads)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user