summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadimpl.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-01 13:50:55 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2015-03-05 11:36:44 +0100
commit5b393fa5b52f2fc2f8f7e0688df86f8b80ab3331 (patch)
tree7fed701117eb2d0ac6d534631743f2e371c1982f /cpukit/score/include/rtems/score/threadimpl.h
parentscore: Add ISR lock to Objects_Control (diff)
downloadrtems-5b393fa5b52f2fc2f8f7e0688df86f8b80ab3331.tar.bz2
score: Add thread acquire
Update #2273.
Diffstat (limited to 'cpukit/score/include/rtems/score/threadimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/threadimpl.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadimpl.h b/cpukit/score/include/rtems/score/threadimpl.h
index e5e51ec322..19c22bcc46 100644
--- a/cpukit/score/include/rtems/score/threadimpl.h
+++ b/cpukit/score/include/rtems/score/threadimpl.h
@@ -398,6 +398,24 @@ Thread_Control *_Thread_Get (
);
/**
+ * @brief Acquires a thread by its identifier.
+ *
+ * @see _Objects_Acquire().
+ */
+Thread_Control *_Thread_Acquire(
+ Objects_Id id,
+ Objects_Locations *location,
+ ISR_lock_Context *lock_context
+);
+
+/**
+ * @brief Acquires the executing thread.
+ *
+ * @see _Objects_Acquire().
+ */
+Thread_Control *_Thread_Acquire_executing( ISR_lock_Context *lock_context );
+
+/**
* @brief Cancel a blocking operation due to ISR.
*
* This method is used to cancel a blocking operation that was