|
Message
From: cvs at opencores.org<cvs@o...>
Date: Wed Jul 23 10:46:03 CEST 2008
Subject: [cvs-checkins] MODIFIED: jop ...
Date: 00/08/07 23:10:46 Modified: jop/java/target/src/common/joprt RtThread.java Log: New scheduler to allow CMP scheulding. Revision Changes Path 1.12 jop/java/target/src/common/joprt/RtThread.java http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/joprt/RtThread.java.diff?r1=1.11&r2=1.12 (In the diff below, changes in quantity of whitespace are not shown.) Index: RtThread.java =================================================================== RCS file: /cvsroot/martin/jop/java/target/src/common/joprt/RtThread.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -b -r1.11 -r1.12 --- RtThread.java 26 Jun 2008 18:43:45 -0000 1.11 +++ RtThread.java 23 Jul 2008 08:46:03 -0000 1.12 @@ -64,6 +64,14 @@ return thr.waitForNextPeriod(); } + /** + * Set the processor number + * @param id + */ + public void setProcessor(int id) { + thr.setProcessor(id); + } + /** * dummy yield() for compatibility reason.
|