EPICS Multi-Core Utilities  1.2.2-SNAPSHOT
Real-Time Utilities for EPICS IOCs on Multi-Core Linux
 All Files Functions Variables Typedefs Macros Groups Pages
mcoreutils.h
Go to the documentation of this file.
1 /********************************************/
107 #ifndef MCOREUTILS_H
108 #define MCOREUTILS_H
109 
110 #include <unistd.h>
111 
112 #include <epicsThread.h>
113 #include <shareLib.h>
114 
115 #ifdef __cplusplus
116 extern "C" {
117 #endif
118 
138 epicsShareFunc void mcoreThreadShowInit(void);
139 
154 epicsShareFunc void mcoreThreadShow(epicsThreadId thread, unsigned int level);
155 
167 epicsShareFunc void mcoreThreadShowAll(unsigned int level);
168 
270 epicsShareFunc void mcoreThreadModify(epicsThreadId id,
271  const char *policy,
272  const char *priority,
273  const char *cpus);
274 
281 epicsShareFunc void mcoreThreadRulesInit();
282 
310 epicsShareFunc long mcoreThreadRuleAdd(const char *name,
311  const char *policy,
312  const char *priority,
313  const char *cpus,
314  const char *pattern);
315 
327 epicsShareFunc void mcoreThreadRuleDelete(const char *name);
328 
337 epicsShareFunc void mcoreThreadRulesShow(void);
338 
370 epicsShareFunc void mcoreMLock(void);
371 
378 epicsShareFunc void mcoreMUnlock(void);
379 
384 #ifdef __cplusplus
385 }
386 #endif
387 
388 #endif // MCOREUTILS_H