<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
This is indeed a good addition for sure!<span id="ms-outlook-android-cursor"></span><br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
And Michael, while its not baked into the language, ezthreads comes close by offering "await" functionality as well as some other niceties (thread pool for parallel, events, etc...)<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<a href="https://github.com/mr-highball/ezthreads">https://github.com/mr-highball/ezthreads</a><br>
<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
<span id="OutlookSignature">
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
cheers 🍻,<br>
</div>
<div dir="auto" style="direction: ltr; margin: 0; padding: 0; font-family: sans-serif; font-size: 11pt; color: black; ">
-highball</div>
</span><br>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Pas2js <pas2js-bounces@lists.freepascal.org> on behalf of pas2js-request@lists.freepascal.org <pas2js-request@lists.freepascal.org><br>
<b>Sent:</b> Wednesday, June 3, 2020 6:00:02 AM<br>
<b>To:</b> pas2js@lists.freepascal.org <pas2js@lists.freepascal.org><br>
<b>Subject:</b> Pas2js Digest, Vol 28, Issue 3</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Send Pas2js mailing list submissions to<br>
pas2js@lists.freepascal.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js">https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js</a><br>
or, via email, send a message with subject or body 'help' to<br>
pas2js-request@lists.freepascal.org<br>
<br>
You can reach the person managing the list at<br>
pas2js-owner@lists.freepascal.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Pas2js digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Async, AWait (Michael Schnell)<br>
2. Re: Async, AWait (Michael Schnell)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 2 Jun 2020 09:58:21 +0000<br>
From: Michael Schnell <MSchnell@lumino.de><br>
To: pas2js discussions <pas2js@lists.freepascal.org><br>
Subject: Re: [Pas2js] Async, AWait<br>
Message-ID: <d8eb87ae60c84424857e8e33b989b519@lumino.de><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Great !<br>
I seem to remember that functions like that are available in Oxygen (inherited from C#) but supposedly with different names and usage conventions.<br>
It would be great if the "Desktop fpc would have this, as well to allow for "asynchronous loops" (making use of multiple CPUs) and similar stuff, and if the Pascal dialects could allow for writing compatible code for all of them.
<br>
-Michael<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 2 Jun 2020 10:07:08 +0000<br>
From: Michael Schnell <MSchnell@lumino.de><br>
To: pas2js discussions <pas2js@lists.freepascal.org><br>
Subject: Re: [Pas2js] Async, AWait<br>
Message-ID: <7cb8692be360430396f98ab455828370@lumino.de><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
From the top of my head: Among other stuff, Oxygen features "parallel loop" and "future" variable for such purpose.<br>
-Michael <br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Pas2js maillist - Pas2js@lists.freepascal.org<br>
<a href="https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js">https://lists.freepascal.org/cgi-bin/mailman/listinfo/pas2js</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Pas2js Digest, Vol 28, Issue 3<br>
*************************************<br>
</div>
</span></font></div>
</body>
</html>