POV-Ray : Newsgroups : povray.off-topic : Quick Linux Question : Re: Quick Linux Question Server Time
5 Sep 2024 23:12:50 EDT (-0400)
  Re: Quick Linux Question  
From: Tom Austin
Date: 6 Apr 2009 09:02:42
Message: <49d9fd72$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.