summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/threadmp.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-24 15:14:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-07-26 11:55:44 +0200
commit5618c37a7a49b7ddde7bb6f7fda8c10616779c05 (patch)
treef6f711c7823171dd927104573528d61494ec3df6 /cpukit/score/include/rtems/score/threadmp.h
parentscore: Create prioritybitmap implementation header (diff)
downloadrtems-5618c37a7a49b7ddde7bb6f7fda8c10616779c05.tar.bz2
score: Create thread implementation header
Move implementation specific parts of thread.h and thread.inl into new header file threadimpl.h. The thread.h contains now only the application visible API. Remove superfluous header file includes from various files.
Diffstat (limited to '')
-rw-r--r--cpukit/score/include/rtems/score/threadmp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/threadmp.h b/cpukit/score/include/rtems/score/threadmp.h
index 6c9788fe28..555bca2053 100644
--- a/cpukit/score/include/rtems/score/threadmp.h
+++ b/cpukit/score/include/rtems/score/threadmp.h
@@ -19,6 +19,10 @@
#ifndef _RTEMS_SCORE_THREADMP_H
#define _RTEMS_SCORE_THREADMP_H
+#ifndef _RTEMS_SCORE_THREADIMPL_H
+# error "Never use <rtems/score/threadmp.h> directly; include <rtems/score/threadimpl.h> instead."
+#endif
+
/**
* @defgroup ScoreThreadMP Thread Handler Multiprocessing Support
*