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

[fpc-devel] Delphi's current TThread implementation

2012-12-16 Thread Sven Barth
Hello together! I'm currently working on bringing FPC's TThread implementation up to par with XE3's, but while the wiki of Embarcadero is a very important source of information I can't get everything I need from it. Thus I'd like to ask someone with access to XE3's source code (or maybe also o