|
![](/i/fill.gif) |
Darren New wrote:
> clipka wrote:
>> Unfortunately that's all I know about it. Maybe you'll need to do some
>> multithreading.
>
> Very tl;dr of you. ;-)
>
> It looks like the Linux *I* have at least never fails to block on disk
> I/O even with O_NONBLOCK. Run time of several minutes, system time of a
> second, user time of even less, and write() never returned less that
> writing a full buffer, so I guess that means you get to block for disk
> and (grumble) learn how to do Linux threading in C. :-) Damn.
>
From what I recall, 'fork' in Linux is not all that bad to use.
Direct from wikipedia:
http://en.wikipedia.org/wiki/Fork_(operating_system)
http://en.wikipedia.org/wiki/Fork-exec
I've never had to implement fork, but from reading about it, it doesn't
seem too bad.
While not exactly what you were looking for, I hope this helps some.
Tom
Post a reply to this message
|
![](/i/fill.gif) |