Ignore:
File:
1 edited

Legend:

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

    r0adfc9d r5b0cf63  
    6161extern void workq_global_worker_init(void);
    6262extern void workq_global_stop(void);
    63 extern int workq_global_enqueue_noblock(work_t *, work_func_t);
    64 extern int workq_global_enqueue(work_t *, work_func_t);
     63extern bool workq_global_enqueue_noblock(work_t *, work_func_t);
     64extern bool workq_global_enqueue(work_t *, work_func_t);
    6565
    66 extern struct work_queue * workq_create(const char *);
     66extern struct work_queue *workq_create(const char *);
    6767extern void workq_destroy(struct work_queue *);
    68 extern int workq_init(struct work_queue *, const char *);
     68extern bool workq_init(struct work_queue *, const char *);
    6969extern void workq_stop(struct work_queue *);
    70 extern int workq_enqueue_noblock(struct work_queue *, work_t *, work_func_t);
    71 extern int workq_enqueue(struct work_queue *, work_t *, work_func_t);
     70extern bool workq_enqueue_noblock(struct work_queue *, work_t *, work_func_t);
     71extern bool workq_enqueue(struct work_queue *, work_t *, work_func_t);
    7272
    7373extern void workq_print_info(struct work_queue *);
Note: See TracChangeset for help on using the changeset viewer.