Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/task.h

    r278b4a30 rda1bafb  
    7070         * threads.
    7171         */
    72         SPINLOCK_DECLARE(lock);
    73 
     72        IRQ_SPINLOCK_DECLARE(lock);
     73       
    7474        char name[TASK_NAME_BUFLEN];
    7575        /** List of threads contained in this task. */
     
    8181        /** Task security context. */
    8282        context_id_t context;
    83 
     83       
    8484        /** Number of references (i.e. threads). */
    8585        atomic_t refcount;
    8686        /** Number of threads that haven't exited yet. */
    8787        atomic_t lifecount;
    88 
     88       
    8989        /** Task capabilities. */
    9090        cap_t capabilities;
    91 
     91       
    9292        /* IPC stuff */
    9393        answerbox_t answerbox;  /**< Communication endpoint */
     
    101101        /** List of synchronous answerboxes. */
    102102        link_t sync_box_head;
    103 
     103       
    104104#ifdef CONFIG_UDEBUG
    105105        /** Debugging stuff. */
    106106        udebug_task_t udebug;
    107 
     107       
    108108        /** Kernel answerbox. */
    109109        kbox_t kb;
    110 #endif
    111 
     110#endif /* CONFIG_UDEBUG */
     111       
    112112        /** Architecture specific task data. */
    113113        task_arch_t arch;
     
    126126} task_t;
    127127
    128 SPINLOCK_EXTERN(tasks_lock);
     128IRQ_SPINLOCK_EXTERN(tasks_lock);
    129129extern avltree_t tasks_tree;
    130130
Note: See TracChangeset for help on using the changeset viewer.