Heavy Kaffe I/O at startup
archie at whistle.com
Fri Oct 16 11:30:02 PDT 1998
Archie Cobbs writes:
> Godmar Back writes:
> > > In other words, how does stdio differ from "a simple stdio-like
> > > buffer scheme" in the sense of thread safety?
> > fread calls read(2) directly.
> > The "read" you see in jar.c is actually a #define Kaffe_syscall.read(),
> > which calls jthreadedRead(), blocking the thread (and not the whole process)
> > if the I/O can't succeed.
Too bad more systems don't have fropen(3) like FreeBSD does...
that would be the perfect solution. Might even be worth an #ifdef.
I wonder what other systems support it? Anything BSD 4.4 based I guess..
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com
More information about the kaffe