pthreads : move some file related to pthread to libc
authorjc_.kim <jc_.kim@samsung.com>
Thu, 29 Jun 2017 04:46:09 +0000 (13:46 +0900)
committerjc_.kim <jc_.kim@samsung.com>
Sun, 2 Jul 2017 23:44:33 +0000 (08:44 +0900)
commit76d90b9ceb33b80458dbd2a97d2bb97fec817e15
tree81f54606c3b942299ec2ed05cee3442196b172a5
parent1d5f989e56294225207f611c01a2b6b9f3871446
pthreads : move some file related to pthread to libc

1. Move pthread_yield from sched/pthreads to libc/pthreads.  it is a simple wrapper for sched_yield and does not belong within the OS.
2. Move pthread_once from sched/pthreads to libc/pthreads.  pthread_once just coordinates other OS interface calls
but is not a fundamental OS interface and, hence, does not belong within the OS.
3. Move pthread_cond_init and pthread_cond_destory from sched/pthreads to libc/pthreads.  This just coordinate other OS
interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS.
4. Move pthread_barrier_init, pthread_barrier_destroy, and pthread_barrier_wait from sched/pthreads to libc/pthreads.
This just coordinate other OS interface calls but are not a fundamental OS interfaces and, hence, do not belong within the OS.

Change-Id: I00307a32376f57064a41f61881a16f4d384e20c4
Signed-off-by: jc_.kim <jc_.kim@samsung.com>
14 files changed:
lib/libc/libc.csv
lib/libc/pthread/Make.defs
lib/libc/pthread/pthread_barrierdestroy.c [moved from os/kernel/pthread/pthread_barrierdestroy.c with 99% similarity]
lib/libc/pthread/pthread_barrierinit.c [moved from os/kernel/pthread/pthread_barrierinit.c with 99% similarity]
lib/libc/pthread/pthread_barrierwait.c [moved from os/kernel/pthread/pthread_barrierwait.c with 99% similarity]
lib/libc/pthread/pthread_conddestroy.c [moved from os/kernel/pthread/pthread_conddestroy.c with 98% similarity]
lib/libc/pthread/pthread_condinit.c [moved from os/kernel/pthread/pthread_condinit.c with 98% similarity]
lib/libc/pthread/pthread_once.c [moved from os/kernel/pthread/pthread_once.c with 99% similarity]
lib/libc/pthread/pthread_yield.c [moved from os/kernel/pthread/pthread_yield.c with 99% similarity]
os/include/sys/syscall.h
os/kernel/pthread/Make.defs
os/syscall/syscall.csv
os/syscall/syscall_lookup.h
os/syscall/syscall_stublookup.c