Skip to content

Commit

Permalink
Add prio argument to hts_thread_create_detached
Browse files Browse the repository at this point in the history
  • Loading branch information
wader committed Mar 17, 2011
1 parent 1e7b19c commit 54802c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/fileaccess/fa_spotlight.c
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,8 @@ spotlight_search(prop_t *model, const char *query)
fas->fas_run = 1;
fas->fas_nodes = prop_ref_inc(prop_create(model, "nodes"));

hts_thread_create_detached("spotlight search", spotlight_searcher, fas);
hts_thread_create_detached("spotlight search", spotlight_searcher, fas,
THREAD_PRIO_NORMAL);
}

static int
Expand Down

0 comments on commit 54802c5

Please sign in to comment.