Changeset aab5e46 in mainline for kernel/generic/include


Ignore:
Timestamp:
2018-11-03T23:32:39Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
790f3a3
Parents:
ef1eab7
Message:

Thread and task iterator functions.

Location:
kernel/generic/include/proc
Files:
2 edited

Legend:

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

    ref1eab7 raab5e46  
    158158extern void task_release(task_t *);
    159159extern task_t *task_find_by_id(task_id_t);
     160extern size_t task_count(void);
     161extern task_t *task_first(void);
     162extern task_t *task_next(task_t *);
    160163extern errno_t task_kill(task_id_t);
    161164extern void task_kill_self(bool) __attribute__((noreturn));
  • kernel/generic/include/proc/thread.h

    ref1eab7 raab5e46  
    261261extern void thread_destroy(thread_t *, bool);
    262262extern thread_t *thread_find_by_id(thread_id_t);
     263extern size_t thread_count(void);
     264extern thread_t *thread_first(void);
     265extern thread_t *thread_next(thread_t *);
    263266extern void thread_update_accounting(bool);
    264267extern bool thread_exists(thread_t *);
Note: See TracChangeset for help on using the changeset viewer.