Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.pascal.misc > #2452

Read again my final corrected post..

Newsgroups comp.lang.pascal.misc
Date 2019-08-09 14:35 -0700
Message-ID <85aa4d63-1549-48c9-bcc1-b00ff6bfc0b2@googlegroups.com> (permalink)
Subject Read again my final corrected post..
From aminer68@gmail.com

Show all headers | View raw


Hello,

Read again my final corrected post..

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 microseconds of course, and they will work with my efficient implementation of a Future, so you will be able to wait for one or many futures with waitany() and waitall().   

And about task cancellation 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 cancellation is not a so efficient abstraction , so i will not implement it, because i think the waitany() and waitall() with the "timeout" in microseconds are  good concurrency abstractions.



Thank you,
Amine Moulay Ramdane.

Back to comp.lang.pascal.misc | Previous | Next | Find similar


Thread

Read again my final corrected post.. aminer68@gmail.com - 2019-08-09 14:35 -0700

csiph-web