Changeset 638927a in mainline for uspace/lib/c/generic/ps.c


Ignore:
Timestamp:
2010-04-09T11:18:08Z (14 years ago)
Author:
Stanislav Kozina <stanislav.kozina@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e43cdac
Parents:
faf38b2
Message:

top echoes also thread state overview
write_barrier() after computing percentages

File:
1 edited

Legend:

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

    rfaf38b2 r638927a  
    7171 * @param size          Size of the infos array.
    7272 *
    73  * @return              0 on success.
     73 * @return              Count of written thread_infos. If higher than size, there
     74 *                      was not enough space.
    7475 *
    7576 */
    76 int get_task_threads(thread_info_t *infos, size_t size)
     77size_t get_task_threads(thread_info_t *infos, size_t size)
    7778{
    7879        return __SYSCALL2(SYS_PS_GET_THREADS, (sysarg_t) infos, (sysarg_t) size);
Note: See TracChangeset for help on using the changeset viewer.