Changeset faf38b2 in mainline for uspace/lib/c


Ignore:
Timestamp:
2010-04-09T09:41:39Z (15 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
638927a
Parents:
a325832
Message:

Removed thread selection from kernel.
Now all threads are copied to uspace and then selected.

Location:
uspace/lib/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ps.c

    ra325832 rfaf38b2  
    7474 *
    7575 */
    76 int get_task_threads(task_id_t taskid, thread_info_t *infos, size_t size)
     76int get_task_threads(thread_info_t *infos, size_t size)
    7777{
    78         return __SYSCALL3(SYS_PS_GET_THREADS, (sysarg_t) &taskid, (sysarg_t) infos,
    79                         (sysarg_t) size);
     78        return __SYSCALL2(SYS_PS_GET_THREADS, (sysarg_t) infos, (sysarg_t) size);
    8079}
    8180
  • uspace/lib/c/include/ps.h

    ra325832 rfaf38b2  
    4545extern size_t get_task_ids(task_id_t *ids, size_t size);
    4646extern int get_task_info(task_id_t id, task_info_t *info);
    47 extern int get_task_threads(task_id_t taskid, thread_info_t *infos, size_t size);
     47extern int get_task_threads(thread_info_t *infos, size_t size);
    4848
    4949#endif
Note: See TracChangeset for help on using the changeset viewer.