From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-74-118.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,XPRIO autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Custom Storage Pool questions Date: Wed, 13 Oct 2021 20:26:09 -0500 Organization: JSA Research & Innovation Message-ID: References: <9bc55d72-b90e-45c5-bfd8-cbce565d139dn@googlegroups.com> <44be7c73-f69e-45da-9916-b14a43a05ea3n@googlegroups.com> <6a073ced-4c3b-4e87-8063-555a93a5c3f6n@googlegroups.com> <3ab4890a-7787-480b-b44b-5189309c8693n@googlegroups.com> Injection-Date: Thu, 14 Oct 2021 01:26:10 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="29946"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:62990 List-Id: "Dmitry A. Kazakov" wrote in message news:sjbr0j$am3$1@gioia.aioe.org... > On 2021-10-03 01:19, Jere wrote: ... > That is 100% backward compatible. Not quite, as it would have problems if someone had declared a pool with similar Allocate_Segment/Deallocate_Segment routines. Admittedly, a fairly unlikely occurrence. A secondary problem is that the mutex currently lives inside the pool; you would have to expose some interface for that as well. (A set-up where the mutex for allocations is global over the entire system is not going to fly.) Randy.