search for: sched_get_priority_max

Displaying 3 results from an estimated 3 matches for "sched_get_priority_max".

2017 Feb 06
2
Real time threads don't work in libvirt containers under CentOS 7.3
...struct sched_param tsparam; pthread_attr_t tattr; memset(&tsparam, 0, sizeof(tsparam)); pthread_attr_init(&tattr); pthread_attr_setinheritsched(&tattr, PTHREAD_EXPLICIT_SCHED); pthread_attr_setschedpolicy(&tattr, SCHED_FIFO); tsparam.sched_priority = sched_get_priority_max(SCHED_FIFO) - 7; pthread_attr_setschedparam(&tattr, &tsparam); if ((rc = pthread_create(&test_thread, &tattr, test, NULL)) != 0) { printf("Unable to start rt thread\n"); } return 0; }
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...ll_create1 SYSCALL FOUND: readlinkat SYSCALL FOUND: fchmodat SYSCALL FOUND: chroot SYSCALL FOUND: lgetxattr SYSCALL FOUND: preadv SYSCALL FOUND: getresgid SYSCALL FOUND: pselect6 SYSCALL FOUND: pciconfig_write SYSCALL FOUND: getsockname SYSCALL FOUND: eventfd SYSCALL FOUND: setitimer SYSCALL FOUND: sched_get_priority_max SYSCALL FOUND: getcpu SYSCALL FOUND: sendfile SYSCALL FOUND: pipe2 SYSCALL FOUND: acct SYSCALL FOUND: afs_syscall SYSCALL FOUND: get_mempolicy SYSCALL FOUND: fchdir SYSCALL FOUND: mlock SYSCALL FOUND: mmap SYSCALL FOUND: send SYSCALL FOUND: utimes SYSCALL FOUND: getcwd SYSCALL FOUND: sched_get_prio...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux