Wath is in the following indented?

The doc says https://www.freepascal.org/docs-html/rtl/classes/tthread.removequeuedevents.html
all calls to the given method .... are removed.

However there may be more than one way to read this.

aMethod: TThreadMethod <https://www.freepascal.org/docs-html/rtl/classes/tthreadmethod.html>
is "procedure of object"

The method "aMethod" (which is what is given) therefore consists of proc-address and instance-address.

However the code actually removes all methods at proc-address, regardless of the instance.

Does the "given method" mean:
1) "aMethod" as passed in as parameter, consisting of proc and instance
2) "method of the class" extracted from "aMethod"
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to