Rev 1196 | Rev 1229 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1196 | Rev 1227 | ||
|---|---|---|---|
| Line 161... | Line 161... | ||
| 161 | * |
161 | * |
| 162 | * @param uaddr Userspace address of 8-byte buffer where to store current task ID. |
162 | * @param uaddr Userspace address of 8-byte buffer where to store current task ID. |
| 163 | * |
163 | * |
| 164 | * @return Always returns 0. |
164 | * @return Always returns 0. |
| 165 | */ |
165 | */ |
| 166 | __native sys_get_task_id(task_id_t *uspace_task_id) |
166 | __native sys_task_get_id(task_id_t *uspace_task_id) |
| 167 | { |
167 | { |
| 168 | /* |
168 | /* |
| 169 | * No need to acquire lock on TASK because taskid |
169 | * No need to acquire lock on TASK because taskid |
| 170 | * remains constant for the lifespan of the task. |
170 | * remains constant for the lifespan of the task. |
| 171 | */ |
171 | */ |