cosmetics, deadcode removal
This commit is contained in:
parent
bddb23d111
commit
026fab07dc
1 changed files with 1 additions and 11 deletions
|
|
@ -42,23 +42,13 @@ NOBUG_DEFINE_FLAG_PARENT (threadpool, threads_dbg); /*TODO insert a suitable/bet
|
||||||
|
|
||||||
//code goes here//
|
//code goes here//
|
||||||
|
|
||||||
void* pool_thread_loop(void * arg)
|
|
||||||
{
|
|
||||||
(void) arg;
|
|
||||||
while (1)
|
|
||||||
{
|
|
||||||
;
|
|
||||||
}
|
|
||||||
return arg;
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
void
|
||||||
lumiera_threadpool_init()
|
lumiera_threadpool_init()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < LUMIERA_THREADCLASS_COUNT; ++i)
|
for (int i = 0; i < LUMIERA_THREADCLASS_COUNT; ++i)
|
||||||
{
|
{
|
||||||
llist_init(&threadpool.pool[i].list);
|
llist_init(&threadpool.pool[i].list);
|
||||||
threadpool.pool[i].working_thread_count = 0;
|
threadpool.pool[i].working_thread_count = 0;
|
||||||
threadpool.pool[i].idle_thread_count = 0;
|
threadpool.pool[i].idle_thread_count = 0;
|
||||||
|
|
||||||
//TODO: configure each pools' pthread_attrs appropriately
|
//TODO: configure each pools' pthread_attrs appropriately
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue