-------- Original-Nachricht -------- > Von: Michael Schnell <[EMAIL PROTECTED]> > > In fact Oxygen does also support the "parallel" keyword/paradigm that > works very similar to what you suggest: > > http://wiki.remobjects.com/wiki/Parallel_Loops > > They only seem to allow the parallel keyword for loops: > > for parallel i: Integer := 0 to 10 do ... > > > But why not (additionally) do > > parallel procedure x(a: integer); > begin > ... > end;
Well, there's a subtle difference between "parallel" and "async": whilst the for-loop may run in parallel, once you got to the statement after it, all iterations are finished. The same is not true for an async(hronous) procedure. Vinzent. -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel