fpc/rtl/objpas/classes
svenbarth da7b24e242 Avoid multiple threadvar lookups when querying the current TThread. Inspired by Michael Schnell.
rtl/objpas/classes/classes.inc, TThread.GetCurrentThread:
	* instead of checking CurrentThreadVar and reading it again afterwards we read it first into Result and check this value; this way we have one read access in the normal case and one read and one write access in the worst case

git-svn-id: trunk@23706 -
2013-03-07 20:15:32 +00:00
..
action.inc * Patch from Luiz americo to use FPList where possible 2010-07-30 09:06:18 +00:00
bits.inc * pass not only exception address but also frame to raise: 2012-11-04 20:40:21 +00:00
classes.inc Avoid multiple threadvar lookups when querying the current TThread. Inspired by Michael Schnell. 2013-03-07 20:15:32 +00:00
classesh.inc Extend TThread with (class) methods and (class) properties from Delphi 2007 and newer. 2012-12-27 16:16:17 +00:00
collect.inc * Changed ooChanged to ooChange, to be more consistent with tense in other values 2012-08-28 12:32:15 +00:00
compon.inc * Fix from Luiz Americo to avoid crash when a freenotification is registered during destroy. (bug ID 23031) 2012-10-08 12:02:11 +00:00
constsg.inc
constss.inc
cregist.inc
dm.inc
filer.inc
intf.inc merge revisions: 13909,13923,13924,13934,13935,13942,13943,13944,13946,13948,13950,13951,13952,13983,13994: 2009-11-02 03:24:48 +00:00
lists.inc * Applied and expanded patch from Luiz Americo to implement faster notifyobservers (bug ID 23419) 2012-12-02 11:14:49 +00:00
parser.inc * Second patch from Mattias Gaertner (bug 19623, should fix 19633 as well) 2011-06-27 18:34:25 +00:00
persist.inc * Applied and expanded patch from Luiz Americo to implement faster notifyobservers (bug ID 23419) 2012-12-02 11:14:49 +00:00
reader.inc * Access VMT members using TVmt record instead of pointer manipulations. 2012-02-11 10:16:50 +00:00
resref.inc * partial fix for mantis #22912 (waiting on clarification from Unicode 2012-09-28 07:57:45 +00:00
sllist.inc * partial fix for mantis #22912 (waiting on clarification from Unicode 2012-09-28 07:57:45 +00:00
streams.inc * Avoid overflow when reading from streams > 2gb 2012-11-06 23:41:49 +00:00
stringl.inc * patch by Bart Broersma, simplify TStringList.InsertItem, resolves #23860 2013-02-20 21:36:02 +00:00
twriter.inc
util.inc
writer.inc * Fixed references to sub components (mantis #18021) 2010-11-26 14:51:43 +00:00