summaryrefslogtreecommitdiff
path: root/nuttx/sched/os_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-10 01:13:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-03-10 01:13:35 +0000
commit89bd2d728bdcd66ed7802bcfe361fd2e039b7f15 (patch)
tree13eae3f4f055341c60e1a21c1d17fd2f277fe399 /nuttx/sched/os_internal.h
parent422a71a719d024d6bb49bd2faa0666b7a7c5826f (diff)
downloadpx4-nuttx-89bd2d728bdcd66ed7802bcfe361fd2e039b7f15.tar.gz
px4-nuttx-89bd2d728bdcd66ed7802bcfe361fd2e039b7f15.tar.bz2
px4-nuttx-89bd2d728bdcd66ed7802bcfe361fd2e039b7f15.zip
Improve internal priority setting logi
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1587 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/sched/os_internal.h')
-rw-r--r--nuttx/sched/os_internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nuttx/sched/os_internal.h b/nuttx/sched/os_internal.h
index a9b1bfc85..e6e1849f4 100644
--- a/nuttx/sched/os_internal.h
+++ b/nuttx/sched/os_internal.h
@@ -1,7 +1,7 @@
/****************************************************************************
* sched/os_internal.h
*
- * Copyright (C) 2007-2009Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -252,6 +252,7 @@ extern boolean sched_addprioritized(FAR _TCB *newTcb,
extern boolean sched_mergepending(void);
extern void sched_addblocked(FAR _TCB *btcb, tstate_t task_state);
extern void sched_removeblocked(FAR _TCB *btcb);
+extern int sched_settcbprio(FAR _TCB *tcb, int sched_priority);
extern FAR _TCB *sched_gettcb(pid_t pid);
#if CONFIG_NFILE_DESCRIPTORS > 0 || CONFIG_NSOCKET_DESCRIPTORS > 0