Steve Litt on 8 Jul 2017 18:51:56 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Multimedia blues

On Sat, 8 Jul 2017 21:36:37 -0400
Rich Freeman <> wrote:

> Sure, but if a non-root application can make your console hang or your
> computer freeze, there is a bug in your OS.  Whether the application
> is "a pig" is beside the point.

I didn't believe you, so I made this program:


int main(int argc, char *argv[]){
	printf("Starting infinite loop\n");
	long i, j, k;
	for(i=0; i < 1000000; i++){
		for(j=0; j < 1000000; j++){
			for(k=0; k < 1000000; j++){

And as a normal user ran it like this:

nice -20 ./a.out

My machine was plenty responsive, in or out of X. You're right, at
least as far as CPU is concerned.


Steve Litt 
July 2017 featured book: Quit Joblessness: Start Your Own Business
Philadelphia Linux Users Group         --
Announcements -
General Discussion  --