lkml.org 
[lkml]   [1999]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectconsole rescheduling
Hi!

A while ago I wrote that console output on a sparc can interrput mpg123
for long enough to start skipping.

Here is a little program to show this. It does not work too "good" on
intel/vgacon, but on sparc, alpha, and intel/vesafb is does
demonstrate the problem.

#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#define size 1024*1024*16
main()
{
char *mem=malloc(size);
memset(mem,'\014',size);
for(;;)
write(1,mem,size);
}

Alexander.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.019 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site