[fpc-devel] TThread.RemoveQueuedEvents

Martin fpc at mfriebe.de
Fri Sep 25 03:30:54 CEST 2020

Wath is in the following indented?

The doc says 
> all calls to the given method .... are removed. 

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

aMethod: TThreadMethod 
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"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20200925/c9fb952b/attachment.htm>

More information about the fpc-devel mailing list