Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

About parallel programming and concurrency..

0 views
Skip to first unread message

amin...@gmail.com

unread,
Dec 3, 2019, 4:50:25 PM12/3/19
to
Hello,


About parallel programming and concurrency..


Look at the following concurrency abstractions of microsoft:

https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.waitany?view=netframework-4.8

https://docs.microsoft.com/en-us/dotnet/api/system.threading.tasks.task.waitall?view=netframework-4.8


I will soon implement waitany() and waitall() concurrency abstractions for Delphi and Freepascal, with the timeout in milliseconds of course, and they will work with my efficient implementation of a Future, so you can will be able to wait for many futures with waitany() and waitall().

And about task canceletion like in microsoft TPL, i think it is
not a good abstraction, because how do you know when you have to efficiently cancel a task or tasks ? so you are understanding that task cancelation is not a so efficient abstraction , so i will not implement it, because i think the waitany() and waitall() with Futures with the "timeout" in milliseconds are good concurrency abstractions.



Thank you,
Amine Moulay Ramdane.



0 new messages