Re: [fpc-devel] Delphi's current TThread implementation

2012-12-17 Thread Michael Schnell
On 12/17/2012 12:32 PM, Sven Barth wrote: I know that (partly from your mail), but this does not explain some of the things they are doing in the background (like what happens with exceptions raised inside a queued function) I see. Interesting stuff :-) . Thanks, -Michael

Re: [fpc-devel] Delphi's current TThread implementation

2012-12-17 Thread Sven Barth
Am 17.12.2012 11:23 schrieb "Michael Schnell" : > > On 12/16/2012 05:41 PM, Sven Barth wrote: > > Please note that (as I already described in another message) TThread.Queue now is an officially documented function (using overlay procedures with alternate parameters). I know that (partly from your

Re: [fpc-devel] Delphi's current TThread implementation

2012-12-17 Thread Michael Schnell
On 12/16/2012 05:41 PM, Sven Barth wrote: Please note that (as I already described in another message) TThread.Queue now is an officially documented function (using overlay procedures with alternate parameters). Thanks, -Michael ___ fpc-devel mailli

Re: [fpc-devel] Delphi's current TThread implementation

2012-12-16 Thread Nicholas Ring
From XE3... On 17/12/2012 3:41 AM, Sven Barth wrote: CheckSynchronize (in respect to entries queued by TThread.Queue; see below) See below? TThread.CurrentThread (or more precise: TThread.GetCurrentThread) if the current thread (private variables) is nil then create an external thread o