Florian Klaempfl wrote:
This is wrong. Asynchronous means that the procedure call is put into a queue and not immediatly handled if no thread is in the pool. Further, your code doesn't handle efficient parameter passing. Especially this needs compiler support.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel
You are even more wrong: you should not make any assumptions about queues and concurrency here. You are just describing an algoritm (not the solution) to solve a certain problem. Just one of many. Including jumping the queue stuff. But you know that. :)
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to