Re: [fpc-devel] Parallel procedures

2012-06-15 Thread Jonas Maebe
Mattias Gaertner wrote on Fri, 15 Jun 2012: Since which fpc version exists "is nested"? http://wiki.freepascal.org/FPC_New_Features_2.6.0#Support_for_nested_procedure_variables Jonas ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://

Re: [fpc-devel] Parallel procedures

2012-06-15 Thread Mattias Gaertner
On Fri, 15 Jun 2012 11:39:15 +1100 Alexander Klenin wrote: > On Fri, Jun 15, 2012 at 9:39 AM, Mattias Gaertner > wrote: > > What do you think? > > > > Why not -- although IMO it would be much better to have some > lagnuage-level support > for things like single-owner semantics. > > Independent

Re: [fpc-devel] Parallel procedures

2012-06-15 Thread Michael Schnell
On 06/15/2012 08:46 AM, Sven Barth wrote: The Linux unit already contains Futex functions that directly call the kernel (since around two years already). I did not check the RTL source code. But it needs to be noted that the term "call Futex" is rather unclear. There is a Kernel function

Re: [fpc-devel] Parallel procedures

2012-06-15 Thread michael . vancanneyt
On Fri, 15 Jun 2012, Mattias Gaertner wrote: Hi, FPC does not yet have parallel loops/procedures, but there is a unit that helps to create parallel procedures/methods (mtprocs). http://wiki.freepascal.org/Parallel_procedures I use this unit since 4 years in several of my projects, which run

Re: [fpc-devel] Parallel procedures

2012-06-14 Thread Sven Barth
Am 15.06.2012 08:28, schrieb Michael Schnell: Regarding an implementation fast enough to take real advantage of multiprocessor boxes, a native support for Futex (instead of going via the pthread library) might be helpful (no idea about the Windows and Mac equivalents). The Linux unit already co

Re: [fpc-devel] Parallel procedures

2012-06-14 Thread Michael Schnell
On 06/15/2012 02:39 AM, Alexander Klenin wrote: On Fri, Jun 15, 2012 at 9:39 AM, Mattias Gaertner wrote: What do you think? Why not -- although IMO it would be much better to have some lagnuage-level support for things like single-owner semantics. Yep. I think parallel loops and futures li

Re: [fpc-devel] Parallel procedures

2012-06-14 Thread Alexander Klenin
On Fri, Jun 15, 2012 at 9:39 AM, Mattias Gaertner wrote: > What do you think? > Why not -- although IMO it would be much better to have some lagnuage-level support for things like single-owner semantics. Independenty, it seems that the unit should be updated to support "is nested" modifier. --

[fpc-devel] Parallel procedures

2012-06-14 Thread Mattias Gaertner
Hi, FPC does not yet have parallel loops/procedures, but there is a unit that helps to create parallel procedures/methods (mtprocs). http://wiki.freepascal.org/Parallel_procedures I use this unit since 4 years in several of my projects, which run on linux, os x and windows. Not much was done on