projects
/
pazpar2-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8272eab
)
Reformat
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 23 Mar 2010 11:33:40 +0000
(12:33 +0100)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 23 Mar 2010 11:33:40 +0000
(12:33 +0100)
src/sel_thread.c
patch
|
blob
|
history
diff --git
a/src/sel_thread.c
b/src/sel_thread.c
index
6e07068
..
10b6d16
100644
(file)
--- a/
src/sel_thread.c
+++ b/
src/sel_thread.c
@@
-73,7
+73,7
@@
static void *sel_thread_handler(void *vp)
{
sel_thread_t p = (sel_thread_t) vp;
- while(1)
+ while (1)
{
struct work_item *work_this = 0;
/* wait for some work */
@@
-140,7
+140,7
@@
sel_thread_t sel_thread_create(void (*work_handler)(void *work_data),
p->thread_id = nmem_malloc(nmem, sizeof(*p->thread_id) * p->no_threads);
for (i = 0; i < p->no_threads; i++)
- pthread_create (p->thread_id + i, 0, sel_thread_handler, p);
+ pthread_create(p->thread_id + i, 0, sel_thread_handler, p);
return p;
}