POV-Ray : Newsgroups : povray.off-topic : Linux: best way to communicate between processes? : Re: Linux: best way to communicate between processes? Server Time
1 Jul 2024 03:08:23 EDT (-0400)
  Re: Linux: best way to communicate between processes?  
From: jr
Date: 17 May 2016 06:04:49
Message: <573aecc1$1@news.povray.org>
hi,

On 17/05/2016 08:18, scott wrote:
> On 16/05/2016 18:21, Orchid Win7 v1 wrote:
>> On 16/05/2016 01:47 PM, scott wrote:
>>> What's the best way for this root process to "broadcast" to other
>>> (non-root) processes when that pin goes high? It will only happen at
>>> maximum frequency of about every 2 seconds, but any delay between the
>>> pin going high and the other processes seeing it should be minimal.
>>
> file somewhere. I'll have to experiment. I guess at some point I might
> want to expand the signal to more than one pin, so being able to
> communicate an "int" rather than a "bool" would actually be more scalable.

conceptually, the "device" ought to provide an entry under /proc
somewhere, and clients would read /proc/what/ever to retrieve the (int)
value.

jr.


Post a reply to this message

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