POV-Ray : Newsgroups : povray.pov4.discussion.general : Next Generation SDL Brainstorming : Re: Next Generation SDL Brainstorming Server Time
28 Jun 2024 21:38:36 EDT (-0400)
  Re: Next Generation SDL Brainstorming  
From: Warp
Date: 2 Apr 2009 03:35:01
Message: <49d46aa5@news.povray.org>
Chambers <ben### [at] pacificwebguycom> wrote:
> On 4/1/2009 10:31 PM, Warp wrote:
> >    +C already does something like that. It will parse the scene for each
> > frame, but it won't render the frame if the image has already been fully
> > rendered.

> I thought of that response too, but then realized that if you're passing 
> frames to different instances of POV then you might have a case of 
> instance #1 opening a file for output, instance #2 seeing the file isn't 
> finished, and both instances trying to write to it.

  You are talking about a mutual exclusion problem here.

> Checking, instead, if the file exists before rendering seems a much 
> better solution

  Checking if a file exists and then making a decision about that does not
in itself solve the mutual exclusion problem. What happens if the other
instance gets the turn in between the check and the creation of the file
of the first instance?

-- 
                                                          - Warp


Post a reply to this message

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