Add mlockall and SCHED_FIFO support

The attached patch adds support for mlockall() as well as the SCHED_FIFO
real-time scheduler. It should result in reduced (and more consistent)
latency. Usage is documented in all the documents.
This commit is contained in:
John Hasler
2009-02-10 17:59:57 +01:00
committed by Miroslav Lichvar
parent cdc22df903
commit 35e662d810
11 changed files with 258 additions and 2 deletions

8
conf.h
View File

@@ -71,4 +71,12 @@ extern int CNF_AllowLocalReference(int *stratum);
extern void CNF_SetupAccessRestrictions(void);
#if defined(HAVE_SCHED_SETSCHEDULER)
extern int SchedPriority;
#endif
#if defined(HAVE_MLOCKALL)
extern int LockAll;
#endif
#endif /* GOT_CONF_H */