Fun with realtime scheduler (3)
Well we figured out how to give our process SCHED_FIFO priority last time (see here) right? But then I started wondering about multithreaded apps and if the call to sched_setscheduler() works for t...
Well we figured out how to give our process SCHED_FIFO priority last time (see here) right? But then I started wondering about multithreaded apps and if the call to sched_setscheduler() works for t...
boost::shared_ptr is an excellent library, life is so much easier with it (but that is nothing new right...) Anyway, I wanted to do this: typedef boost::shared_ptr<short> MyPointer; MyPoint...
The always interesting EmptyCrate blog has a nice page on C++ inheritance access specifiers. It's good to have a nice little refresher once in a while, especially when you think you've reached the ...
Maybe you knew the site already, but http://www.stackoverflow.com is a really cool site where programmers can ask questions and have them answered by other members. In my experience, the site is f...
Since I'm always forgetting where the free O'Reilly 'Linux Device Drivers 3rd edition' book can be found, here's a link: http://lwn.net/Kernel/LDD3/ Chapter 7 about timing is especially interestin...
Integration with tools like oprofile and valgrind (one of my favorites) is finally a bit easier in Eclipse since these guys released their first version :) An overview of features can be found her...
I came across a very interesting guide to Linux soundsystems, it's an interesting read and fairly up to date.. http://0pointer.de/blog/projects/guide-to-sound-apis.html
I had a lot of trouble find a really basic example (hey the stuff I want to do is not that hard) for using the boost::asio library. This library is supposed to be the bee's knees and will be includ...
Who needs chrt when you can set things yourself from C code? Example: #include <stdio.h> #include <sched.h> #include <unistd.h> void setscheduler(void) { struct sched_param...
Things used to be complicated with regard to setting realtime permissions on Linux (realtime-lsm and /etc/security/limits.conf). Not any more it seems! Using chrt If your user is in the 'audio' g...