summaryrefslogtreecommitdiff
path: root/components/pthreads/pthread_attr.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-11-17 23:35:13 +0000
committer[email protected] <[email protected]>2010-11-17 23:35:13 +0000
commit32f65989126fbe1fb31013c577c11bbaa46a5e72 (patch)
treec321bc5fca933c6d181d4d236873e481b0f56218 /components/pthreads/pthread_attr.c
parent5c148b670581c6b27b184ee28cd17a5b9deaf068 (diff)
add semaphore and sched implementation.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1056 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/pthreads/pthread_attr.c')
-rw-r--r--components/pthreads/pthread_attr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/pthreads/pthread_attr.c b/components/pthreads/pthread_attr.c
index 02b9ec6cdd..706e4819c3 100644
--- a/components/pthreads/pthread_attr.c
+++ b/components/pthreads/pthread_attr.c
@@ -1,5 +1,6 @@
#include <rtthread.h>
#include "pthread.h"
+#include "sched.h"
#include <string.h>
#define DEFAULT_STACK_SIZE 2048