|
From: Hans D. <dul...@us...> - 2001-03-20 04:04:32
|
Update of /cvsroot/corelinux/corelinux/corelinux
In directory usw-pr-cvs1:/tmp/cvs-serv4805
Modified Files:
Thread.hpp
Log Message:
Added methods for handling thread priority.
Index: Thread.hpp
===================================================================
RCS file: /cvsroot/corelinux/corelinux/corelinux/Thread.hpp,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Thread.hpp 2001/03/17 04:30:16 1.4
--- Thread.hpp 2001/03/20 04:06:50 1.5
***************
*** 212,215 ****
--- 212,240 ----
throw ( InvalidThreadException, Assertion );
+ /**
+ Get thread priority for the given indentifier
+ @param ThreadIdentifier unique thread id
+ @exception InvalidThreadException if the thread id is
+ not one in the managed store.
+ @exception Assertion if the thread is in a running
+ state.
+ */
+
+ static Int getThreadPriority( ThreadIdentifierCref )
+ throw ( InvalidThreadException, Assertion );
+
+ /**
+ Set thread priority for the given indentifier
+ @param ThreadIdentifier unique thread id
+ @param prio priority value
+ @exception InvalidThreadException if the thread id is
+ not one in the managed store.
+ @exception Assertion if the thread is in a running
+ state.
+ */
+
+ static void setThreadPriority( ThreadIdentifierCref, Int )
+ throw ( InvalidThreadException, Assertion );
+
protected:
|