aboutsummaryrefslogtreecommitdiffstats
path: root/src/chschd.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-13 06:59:54 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2007-10-13 06:59:54 +0000
commit73642ca0cce31ed6982813a90b89e4de05da76cb (patch)
tree3a55ba3629daf4d5b13bec0dcee9be1e20771b3d /src/chschd.c
parent62645922467a2c748bf081b7eefb6ad775675418 (diff)
downloadChibiOS-73642ca0cce31ed6982813a90b89e4de05da76cb.tar.gz
ChibiOS-73642ca0cce31ed6982813a90b89e4de05da76cb.tar.bz2
ChibiOS-73642ca0cce31ed6982813a90b89e4de05da76cb.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@48 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chschd.c')
-rw-r--r--src/chschd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/chschd.c b/src/chschd.c
index 254f87937..c95c0cd0e 100644
--- a/src/chschd.c
+++ b/src/chschd.c
@@ -98,7 +98,7 @@ static void nextready(void) {
* @note The function must be called in the system mutex zone.
* @note The function is not meant to be used in the user code directly.
*/
-void chSchGoSleepI(t_tstate newstate) {
+void chSchGoSleepS(t_tstate newstate) {
currp->p_state = newstate;
nextready();
@@ -115,7 +115,7 @@ void chSchGoSleepI(t_tstate newstate) {
* @note It is equivalent to a \p chSchReadyI() followed by a
* \p chSchRescheduleI() but much more efficient.
*/
-void chSchWakeupI(Thread *tp, t_msg msg) {
+void chSchWakeupS(Thread *tp, t_msg msg) {
Thread *ctp = currp;
if (tp->p_prio <= ctp->p_prio)
@@ -134,7 +134,7 @@ void chSchWakeupI(Thread *tp, t_msg msg) {
* ready list then it becomes running.
* @note The function must be called in the system mutex zone.
*/
-void chSchRescheduleI(void) {
+void chSchRescheduleS(void) {
if (isempty(&rlist.r_queue) || firstprio(&rlist.r_queue) <= currp->p_prio)
return;