Changeset 0adfc9d in mainline


Ignore:
Timestamp:
2012-11-20T17:34:33Z (11 years ago)
Author:
Adam Hraska <adam.hraska+hos@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
04d66804
Parents:
82719589
Message:

workqueue: Replaced thread.h include with a forward declaration.

Location:
kernel/generic
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/workqueue.h

    r82719589 r0adfc9d  
    3737
    3838#include <adt/list.h>
    39 #include <proc/thread.h>
    4039
    4140/* Fwd decl. */
     41struct thread;
    4242struct work_item;
    4343struct work_queue;
     
    7676
    7777extern void workq_after_thread_ran(void);
    78 extern void workq_before_thread_is_ready(thread_t *);
     78extern void workq_before_thread_is_ready(struct thread *);
    7979
    8080#endif /* KERN_WORKQUEUE_H_ */
  • kernel/generic/src/synch/workqueue.c

    r82719589 r0adfc9d  
    427427}
    428428
    429 /** Adds a function to be invoked in a separate thread; may blocking.
     429/** Adds a function to be invoked in a separate thread; may block.
    430430 *
    431431 * While the workq_enqueue() is unlikely to block, it may do so if too
Note: See TracChangeset for help on using the changeset viewer.