EPICS Multi-Core Utilities  1.2.3-SNAPSHOT
Real-Time Utilities for EPICS IOCs on Multi-Core Linux
threadRules.c File Reference

Rule-based modification of thread real-time properties. More...

#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <sys/types.h>
#include <regex.h>
#include <string.h>
#include <ellLib.h>
#include <envDefs.h>
#include <errlog.h>
#include <epicsStdio.h>
#include <epicsMath.h>
#include <epicsThread.h>
#include <epicsMutex.h>
#include <shareLib.h>
#include "utils.h"
#include "mcoreutils.h"

Go to the source code of this file.

typedef struct threadRule threadRule
 A thread rule. More...
 
long mcoreThreadRuleAdd (const char *name, const char *policy, const char *priority, const char *cpus, const char *pattern)
 Add or replace a thread rule. More...
 
void mcoreThreadRuleDelete (const char *name)
 Delete a thread rule. More...
 
void mcoreThreadRulesShow (void)
 Print a comprehensive list of the thread rules. More...
 
void mcoreThreadModify (epicsThreadId id, const char *policy, const char *priority, const char *cpus)
 Modify a thread's real-time properties. More...
 
void mcoreThreadRulesInit (void)
 Initialization routine. More...
 

Detailed Description

Rule-based modification of thread real-time properties.

Author
Ralph Lange Ralph.nosp@m..Lan.nosp@m.ge@gm.nosp@m.x.de

Definition in file threadRules.c.

Typedef Documentation

◆ threadRule

typedef struct threadRule threadRule

A thread rule.

Used to manipulate real-time properties when threads are started. The thread rules are kept in a linked list.