Changeset 201abde in mainline for kernel/generic/include/proc/thread.h


Ignore:
Timestamp:
2007-04-07T20:06:52Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7e58979
Parents:
6adbe3c2
Message:

make thread ID 64 bit (task ID is 64 bit already)
cleanup thread syscalls

File:
1 edited

Legend:

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

    r6adbe3c2 r201abde  
    194194        int priority;
    195195        /** Thread ID. */
    196         uint32_t tid;
     196        thread_id_t tid;
    197197       
    198198        /** Architecture-specific data. */
     
    249249
    250250/* Thread syscall prototypes. */
    251 unative_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name);
    252 unative_t sys_thread_exit(int uspace_status);
    253 unative_t sys_thread_get_id(void);
     251extern unative_t sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name, thread_id_t *uspace_thread_id);
     252extern unative_t sys_thread_exit(int uspace_status);
     253extern unative_t sys_thread_get_id(thread_id_t *uspace_thread_id);
    254254
    255255#endif
Note: See TracChangeset for help on using the changeset viewer.