Changeset c05290e in mainline for libc


Ignore:
Timestamp:
2006-03-17T01:31:55Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
11a4fbf
Parents:
11eae82
Message:

Support for uspace threads.

Location:
libc
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • libc/Makefile

    r11eae82 rc05290e  
    4444        generic/mmap.c \
    4545        generic/string.c \
     46        generic/thread.c \
    4647        generic/io/io.c \
    4748        generic/io/print.c \
  • libc/generic/libc.c

    r11eae82 rc05290e  
    2929#include <libc.h>
    3030#include <unistd.h>
     31#include <thread.h>
    3132
    3233void _exit(int status) {
    33         __SYSCALL0(SYS_CTL);
     34        thread_exit(status);
    3435}
    3536
Note: See TracChangeset for help on using the changeset viewer.