On Wed, Jul 30, 2008 at 5:01 PM, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > Just to test some ideas/opinions. Could something like this be usefull? > > Function DoSomething(const astring : string) : boolean; parallel; > begin > .. > end > > So that the 'parallel' keywords means that if you call this procedure, > it's started in a separate thread. (maybe just a compiler hint, like in > inline. So that the compiler can decide)
That's exactly what Florian meant with the 'asynchronous' keyword and what RemObjects did with their compiler (I believe). Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel