Deutsch   English   Français   Italiano  
<_dWdnU6ogs1XzKX6nZ2dnZfqnPWdnZ2d@earthlink.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!Xl.tags.giganews.com!local-4.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 16 Nov 2024 08:03:22 +0000
Subject: Re: The joy of pipes
Newsgroups: comp.os.linux.misc
References: <vgns2aqlhq@dont-email.me> <20241112111426.00007245@gmail.com>
 <e44df1bda1f1622a8d725c69860d3225@msgid.frell.theremailer.net>
 <m2ttc9y3d8.queerchen@cmschueller.my-fqdn.de> <eli$2411141855@qaz.wtf>
 <20241114160907.0000252b@gmail.com> <vh6a9k$33c17$5@dont-email.me>
 <hzSdnTUBKbG_YKv6nZ2dnZfqnPQAAAAA@earthlink.com> <A7GZO.66$hgYd.23@fx41.iad>
 <kaOcndi2KbU9sqX6nZ2dnZfqnPSdnZ2d@earthlink.com>
 <lpqrlkFqcu8U5@mid.individual.net>
From: "186282@ud0s4.net" <186283@ud0s4.net>
Organization: wokiesux
Date: Sat, 16 Nov 2024 03:03:00 -0500
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <lpqrlkFqcu8U5@mid.individual.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Message-ID: <_dWdnU6ogs1XzKX6nZ2dnZfqnPWdnZ2d@earthlink.com>
Lines: 32
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 99.101.150.97
X-Trace: sv3-GbEpdzTrMNk+23iNVS2sJsW5boT/cPfMPIsX5LhX89+9ma0I6nt1/Nzggn+1aipLhHkunVyrBgnBmIj!1HqZS34z5KlZypO6iGt3B1HJMdmtmrO+zl+gOQUqvK3yM8c1yv5fItVfuY8eppIZjdadVrDlQhcI!/mKS0Sk4PbFFtpUFZsGV
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 3019

On 11/16/24 1:16 AM, rbowman wrote:
> On Sat, 16 Nov 2024 00:37:35 -0500, 186282@ud0s4.net wrote:
> 
>>     IF you are doing multi-threaded/process style pgms then you almost
>>     HAVE to use them if you want to xmit more than a few bytes between
>>     parents/children. A few years back I was experimenting with TCP/UDP
>>     servers and found that it could be very useful to transmit a few
>>     dozen bytes worth of active data between parents/children.
>>
>>     SO ... learn yer pipes !
> 
> Message queues and shared memory are handy for IPC too. I don't think
> Microsoft ever figured either out. What they call message queues are
> completely different.

   Whatever M$ does ... well ....... always seems
   to be FUCKED somehow.

   Anyway, pipes are VERY useful. Anybody getting into 'C',
   esp multi-threaded/process, needs to get very familiar
   with them. Even in 'C' they're still kinda awkward
   alas. Somebody had The Idea, but nobody seems to have
   made it smooth and consistent across multiple languages
   and systems.

   My old server experiments, each child returned stats
   back to the root parent while it was running. Under
   certain conditions the parent would do things - maybe
   terminate the child or connection or do a timer
   process. Did work up to a fairly compact UDP bi-di
   pre-threaded server. Never found a great use for it,
   but it was fun and maybe someday .......