summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-04 16:14:55 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1996-06-04 16:14:55 +0000
commit12c77ab080d675aefde78cbfc732727934de0c55 (patch)
treed509f6d58b096401b4e427eb214d1a31f947eff9 /c/src
parentadded basic test cases for pthread_self and pthread_equal (diff)
downloadrtems-12c77ab080d675aefde78cbfc732727934de0c55.tar.bz2
added scheduling policy and parameter information
Diffstat (limited to 'c/src')
-rw-r--r--c/src/exec/posix/headers/threadsup.h3
-rw-r--r--c/src/exec/posix/include/rtems/posix/threadsup.h3
2 files changed, 6 insertions, 0 deletions
diff --git a/c/src/exec/posix/headers/threadsup.h b/c/src/exec/posix/headers/threadsup.h
index 0adb85fba4..ba126bbb78 100644
--- a/c/src/exec/posix/headers/threadsup.h
+++ b/c/src/exec/posix/headers/threadsup.h
@@ -13,6 +13,9 @@ typedef struct {
pthread_attr_t Attributes;
int detachstate;
Thread_queue_Control Join_List;
+ int schedpolicy;
+ struct sched_param Schedule;
+
#if 0
/*
* POSIX Interrupts
diff --git a/c/src/exec/posix/include/rtems/posix/threadsup.h b/c/src/exec/posix/include/rtems/posix/threadsup.h
index 0adb85fba4..ba126bbb78 100644
--- a/c/src/exec/posix/include/rtems/posix/threadsup.h
+++ b/c/src/exec/posix/include/rtems/posix/threadsup.h
@@ -13,6 +13,9 @@ typedef struct {
pthread_attr_t Attributes;
int detachstate;
Thread_queue_Control Join_List;
+ int schedpolicy;
+ struct sched_param Schedule;
+
#if 0
/*
* POSIX Interrupts