From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a24:1a57:: with SMTP id 84-v6mr9808687iti.36.1525301576236; Wed, 02 May 2018 15:52:56 -0700 (PDT) X-Received: by 2002:a9d:620d:: with SMTP id g13-v6mr1544858otj.3.1525301575930; Wed, 02 May 2018 15:52:55 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.uzoreto.com!newsreader5.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!f199-v6no193882itd.0!news-out.google.com!b185-v6ni210itb.0!nntp.google.com!v8-v6no194859itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 2 May 2018 15:52:55 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=149.32.224.39; posting-account=Qh2kiQoAAADpCLlhT_KTYoGO8dU3n4I6 NNTP-Posting-Host: 149.32.224.39 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <4ccf46d5-ceea-43fb-88af-cb7ab076b26e@googlegroups.com> Subject: Re: Inter-process communication in Ada with Simple Components v 4.28 From: Anh Vo Injection-Date: Wed, 02 May 2018 22:52:56 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 3785 X-Received-Body-CRC: 2003683649 Xref: reader02.eternal-september.org comp.lang.ada:51930 Date: 2018-05-02T15:52:55-07:00 List-Id: On Wednesday, May 2, 2018 at 9:51:05 AM UTC-7, Dmitry A. Kazakov wrote: > The latest version 4.28 of Simple Components introduces inter-process > communication primitives. The implementation does not rely networking > and is based on shared memory and OS primitives available. Both Linux > and Windows are supported. No configuration is required, no source code > generation is used either. The interface packages are OS-independent. > > The following synchronization and communication primitives are provided: > > - Manual set/reset event; > > - Pulse event; > > - Re-entrant mutex. A mutex that can be seized by the same task several > times without blocking; > > - Shared object that can be accessed from different processes; > > - FIFO, first-in, first-out queue with the ends in different processes; > > - Blackboard for publishing updates in a way that do not block the > publisher; > > - Inter-process stream with the end points in different processes; > > - Shared memory pool which can be allocated and freed from different > processes. The pool supports references which can be converted forth and > back access type. The pool reference can be exchanged between processes > and stored in the shared memory; > > - Process call service, that provides remote procedure call facilities. > Both synchronous and asynchronous remote calls are supported. > Synchronous calls can return back results or update arguments. > Exceptions propagated at the callee's side are reported back to the > caller and re-raised at the call point. > > - Manager of the process call services that allow processes involving in > RPC exchange to come and go dynamically. > > The configuration of primitives is based on introspection of the Ada > type that describes the shared environment. The primitives are merely > components of the shared environment object. The coherence of the shared > environment is checked when the process joins other processes. > > The intended audience is Ada developers of servers, e.g. Gnoga users. > Bug reports and feature requests are welcome. > > P.S. The Distributed Systems Annex E can be supported if there is > demand, provided some help with configuring GNAT to respect the pragma > Remote Call Interface and use the custom System.RPC. Good work Dmitry. Thank you for sharing your work with others. By the way, I had trouble to untar after downloading it. The output error are "tar: Archive value 197608 is out of uid_t range 0..65535" Anh Vo