[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH 0/4] Ein bisschen Userspace-Multithreading



Ein paar Kaputtheiten von SHyx0rmZ, verschlimmbessert von meiner
Wenigkeit. So ein bisschen tut das, und zurechtfixen kann man es
später ja immer noch.

Kevin Wolf (2):
  kernel2: Erst Threads, dann Prozess zerstören
  tests: Ein einfacher Threadtest

Patrick Pokatilo (2):
  kernel/libc: Multithreading-Syscalls
  libc: pthread

 src/include/syscallno.h                  |    6 ++-
 src/include/types.h                      |    1 +
 src/kernel2/include/syscall.h            |   10 +++
 src/kernel2/include/tasks.h              |    6 ++
 src/kernel2/src/syscall.c                |    4 +
 src/kernel2/src/syscalls/pm.c            |   74 ++++++++++++++++++++
 src/kernel2/src/tasks/pm.c               |   16 ++--
 src/kernel2/src/tasks/thread.c           |   25 ++++++-
 src/modules/c/pthreads/Makefile.all      |    9 +++
 src/modules/c/pthreads/main.c            |   85 ++++++++++++++++++++++
 src/modules/include/pthread.h            |   42 +++++++++++
 src/modules/include/sys/types.h          |    3 +
 src/modules/include/syscall.h            |    3 +
 src/modules/include/unistd.h             |    3 +
 src/modules/lib/posix/getpid.c           |   10 +++-
 src/modules/lib/posix/pthread.c          |  112 ++++++++++++++++++++++++++++++
 src/modules/lib/syscalls/create_thread.c |  110 +++++++++++++++++++++++++++++
 tests/libc/Makefile                      |    5 +-
 tests/libc/main_thread.c                 |   92 ++++++++++++++++++++++++
 tests/libc/run_test.sh                   |    2 +
 20 files changed, 603 insertions(+), 15 deletions(-)
 create mode 100644 src/modules/c/pthreads/Makefile.all
 create mode 100644 src/modules/c/pthreads/main.c
 create mode 100644 src/modules/include/pthread.h
 create mode 100644 src/modules/lib/posix/pthread.c
 create mode 100644 src/modules/lib/syscalls/create_thread.c
 create mode 100644 tests/libc/main_thread.c

-- 
1.7.7