[fpc-devel] Extension request to TThread extensions

2014-08-20 Thread Michael Schnell
I found that my intent to do an active extension (or variant) of the Lazarus NoGUI Widget Type (aka Interface) is not possible (to be implemented in an IMHO sensible way) using the released version of the FPC RTL, but is rather easy when using the TThread extensions provided by the svn

Re: [fpc-devel] Extension request to TThread extensions

2014-08-20 Thread Michael Van Canneyt
On Wed, 20 Aug 2014, Michael Schnell wrote: I found that my intent to do an active extension (or variant) of the Lazarus NoGUI Widget Type (aka Interface) is not possible (to be implemented in an IMHO sensible way) using the released version of the FPC RTL, but is rather easy when using the

Re: [fpc-devel] Extension request to TThread extensions

2014-08-20 Thread Michael Schnell
On 08/20/2014 11:12 AM, Michael Van Canneyt wrote: You can perfectly work around this by implementing Application.QueueAsnycCall so that it creates a thread which does the call to TThread.Queue. Do you mean that for an implementation of Application.QueueAsyncCall I should - Check if we

Re: [fpc-devel] Extension request to TThread extensions

2014-08-20 Thread Michael Van Canneyt
On Wed, 20 Aug 2014, Michael Schnell wrote: On 08/20/2014 11:12 AM, Michael Van Canneyt wrote: You can perfectly work around this by implementing Application.QueueAsnycCall so that it creates a thread which does the call to TThread.Queue. Do you mean that for an implementation of

Re: [fpc-devel] Extension request to TThread extensions

2014-08-20 Thread Michael Schnell
On 08/20/2014 12:14 PM, Michael Van Canneyt wrote: OTOH, as supposedly nobody ever on purpose calls Application.QueueAsyncCall from the main thread it does not do much harm (other than eating up some bytes of memory). Exactly. So I will proceed as you said. Thanks, -Michael