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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,83e8a1e0ce17dd53,start X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.68.137.71 with SMTP id qg7mr6749612pbb.5.1367774342313; Sun, 05 May 2013 10:19:02 -0700 (PDT) Path: bp1ni1624pbd.1!nntp.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe15.iad.POSTED!not-for-mail From: Brad Moore User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: ANN: Paraffin 4.2, Parallelism Generics Message-ID: NNTP-Posting-Host: 68.145.219.148 X-Complaints-To: internet.abuse@sjrb.ca X-Trace: 1367774319 68.145.219.148 (Sun, 05 May 2013 17:18:39 UTC) NNTP-Posting-Date: Sun, 05 May 2013 17:18:39 UTC Date: Sun, 05 May 2013 11:18:38 -0600 X-Received-Bytes: 2400 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2013-05-05T11:18:38-06:00 List-Id: This is a minor update to the Paraffin release 4.1 that was released a couple days ago. This release (4.2) is geared towards getting the Ravenscar version of the FFT (Fast Fourier Transform) paraffinalia app to work on Windows, and other targets where synchronous barriers are implemented by protected types. To achieve this, a new package, called Parallel.Simple_Synchronous_Barriers was introduced. This package provides the services of a barrier when only two tasks need to wait on the barrier, and is implemented using Ada's suspension objects, rather than a protected type. The issue is that on Windows, Ada.Synchronous_Barriers is implemented by a protected object in GNAT. Ravenscar disallows protected objects to be declared at a nested level, which is needed by the FFT app. Since only two tasks ever need to wait on a barrier in the FFT algorithm, a specialized implementation of a barrier can be constructed using Ada's suspension objects. This specialized barrier satisfies the Ravenscar restrictions, but also is lighter weight, and was deemed worthwhile for use for the non-ravenscar version of fft. As a result of this change, the project file test_ravenscar_fft_linux was renamed to test_ravenscar_fft, since it should now be portable to all targets. The latest stable release and older releases may be downloaded from; https://sourceforge.net/projects/paraffin/files/ For those who want the current development versions of the source they can download using git (http://git-scm.com/) by issuing the following commands; mkdir sandbox cd sandbox git clone git://git.code.sf.net/p/paraffin/code paraffin-code