Changeset 8a64e81e in mainline for kernel/generic/src/main/kinit.c


Ignore:
Timestamp:
2012-07-06T13:31:02Z (12 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d56712
Parents:
518dd43
Message:

workq: Add work queues: allow blocking work items, queuing items from interrupt handlers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r518dd43 r8a64e81e  
    7777#include <synch/waitq.h>
    7878#include <synch/spinlock.h>
     79#include <synch/workqueue.h>
    7980
    8081#define ALIVE_CHARS  4
     
    103104         */
    104105        thread_detach(THREAD);
    105        
     106
    106107        interrupts_disable();
     108       
     109        /*
     110         * Start processing work queue items. Some may have been queued during boot.
     111         */
     112        workq_global_worker_init();
    107113       
    108114#ifdef CONFIG_SMP
Note: See TracChangeset for help on using the changeset viewer.