add clock and mqueue interface.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1083 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com
2010-11-21 23:56:16 +00:00
parent d57496b78c
commit 72630eae88
6 changed files with 230 additions and 34 deletions

View File

@@ -1,7 +1,20 @@
Import('RTT_ROOT')
from building import *
src = Glob('*.c')
src = Split('''
clock_time.c
pthread.c
pthread_attr.c
pthread_barrier.c
pthread_cond.c
pthread_internal.c
pthread_mutex.c
pthread_rwlock.c
pthread_spin.c
pthread_tls.c
sched.c
semaphore.c
''')
CPPPATH = [RTT_ROOT + '/components/pthreads']
group = DefineGroup('pthreads', src, depend = ['RT_USING_PTHREADS'], CPPPATH = CPPPATH)