diff options
Diffstat (limited to 'src/ui/lookupwidget.c')
-rw-r--r-- | src/ui/lookupwidget.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/lookupwidget.c b/src/ui/lookupwidget.c index b7de5872..dcde7d79 100644 --- a/src/ui/lookupwidget.c +++ b/src/ui/lookupwidget.c | |||
@@ -265,7 +265,7 @@ static void searchIdentities_LookupJob_(iLookupJob *d) { | |||
265 | 265 | ||
266 | static iThreadResult worker_LookupWidget_(iThread *thread) { | 266 | static iThreadResult worker_LookupWidget_(iThread *thread) { |
267 | iLookupWidget *d = userData_Thread(thread); | 267 | iLookupWidget *d = userData_Thread(thread); |
268 | printf("[LookupWidget] worker is running\n"); fflush(stdout); | 268 | // printf("[LookupWidget] worker is running\n"); fflush(stdout); |
269 | lock_Mutex(d->mtx); | 269 | lock_Mutex(d->mtx); |
270 | for (;;) { | 270 | for (;;) { |
271 | wait_Condition(&d->jobAvailable, d->mtx); | 271 | wait_Condition(&d->jobAvailable, d->mtx); |
@@ -312,13 +312,13 @@ static iThreadResult worker_LookupWidget_(iThread *thread) { | |||
312 | /* Previous results haven't been taken yet. */ | 312 | /* Previous results haven't been taken yet. */ |
313 | delete_LookupJob(d->finishedJob); | 313 | delete_LookupJob(d->finishedJob); |
314 | } | 314 | } |
315 | printf("[LookupWidget] worker has %zu results\n", size_PtrArray(&job->results)); | 315 | // printf("[LookupWidget] worker has %zu results\n", size_PtrArray(&job->results)); |
316 | fflush(stdout); | 316 | fflush(stdout); |
317 | d->finishedJob = job; | 317 | d->finishedJob = job; |
318 | postCommand_Widget(as_Widget(d), "lookup.ready"); | 318 | postCommand_Widget(as_Widget(d), "lookup.ready"); |
319 | } | 319 | } |
320 | unlock_Mutex(d->mtx); | 320 | unlock_Mutex(d->mtx); |
321 | printf("[LookupWidget] worker has quit\n"); fflush(stdout); | 321 | // printf("[LookupWidget] worker has quit\n"); fflush(stdout); |
322 | return 0; | 322 | return 0; |
323 | } | 323 | } |
324 | 324 | ||