POV-Ray : Newsgroups : povray.programming : fifos and forking. I'm lost : Re: fifos and forking. I'm lost Server Time
9 Jun 2024 12:34:22 EDT (-0400)
  Re: fifos and forking. I'm lost  
From: Jeff Houck
Date: 24 Jul 2005 13:07:49
Message: <42e3cae5$1@news.povray.org>
Cesar wrote:
> Hi,
> 
> I don't know if this is the right newsgroup, I'm sorry if its not.
> 
> I've asked this before, but for some reason my old solution does not work in
> my new linux box, don know why.
> 
> I made a c++ program that changes the scene files several times and each
> time, it renders an image using povray. The image must go to a buffer for
> posterior processing.
> 
> So I create a fifo and in my render function i fork. The child process calls
> povray sending the image to the fifo (+Omyfifo.ppm, myfifo.ppm being the
> named fifo I create with mkfifo()). In the parent process, the function
> reads from  the fifo to the buffer.
> 
> But I'm having serius synchronization issues. I've tried so many things I'm
> lost. I'm sure someone have done this before. Could you help me, maybe post
> some code? I would really
> appreciate it.
> 
> Thanks,
> 
> Cesar
> 
> 
> 

maybe you would want to post *your* code so we can see exactly *how* 
you're trying  to do this?


Post a reply to this message

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