diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-03-28 19:18:31 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-03-28 19:18:31 +0000 |
commit | a114b29dd9d7f9442584455213dbdc4fd947abb7 (patch) | |
tree | 018afbf74daa3d950da83f6c2a340e8950d73529 /tests/Priority_Task_Test.cpp | |
parent | aafa71c671552235eec477c1074a646202e06601 (diff) | |
download | ATCD-a114b29dd9d7f9442584455213dbdc4fd947abb7.tar.gz |
added THR_SCHED_FIFO flag
Diffstat (limited to 'tests/Priority_Task_Test.cpp')
-rw-r--r-- | tests/Priority_Task_Test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/Priority_Task_Test.cpp b/tests/Priority_Task_Test.cpp index efb34a5fdff..c53f4dd08f1 100644 --- a/tests/Priority_Task_Test.cpp +++ b/tests/Priority_Task_Test.cpp @@ -55,7 +55,8 @@ Priority_Task::open (void *arg) { this->priority_ = *(int *) arg; // Become an active object. - ACE_ASSERT (this->activate (THR_NEW_LWP, 1, 0, this->priority_) != -1); + ACE_ASSERT (this->activate (THR_NEW_LWP | THR_SCHED_FIFO, + 1, 0, this->priority_) != -1); return 0; } |