The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
sergei 138c2b6b0a * Hacking TLS callbacks into proper shape:
- Do not call DLL hooks from exe callback handler.
  - Do not call SysInitMultitheading from DLL_THREAD_ATTACH handler, it may only be called from the main thread. See comments in syswin.inc for details. Reverts rev. 17892.
  + To guarantee that SysInitMultithreading is called from the main thread, assume executables always multithreaded, just like DLLs are.
  - Also removed all checks with MainThreadIdWin32, except checks for double DLL_PROCESS_DETACH in DLLs. They duplicate what Windows already does (the main thread invokes only PROCESS_ATTACH/PROCESS_DETACH and never THREAD_ATTACH/THREAD_DETACH callbacks).
  * Attempts to avoid double initialization/finalization (once in callback, second time in normal control flow).
  * Net result: webtbs/tw2423 and webtbs/tw15530 fixed, webtbs/tw3661 broken (because heaptrc does not support checking pointers in TLS area, and with 'always multithreaded' apps the Output varible moves into TLS).

git-svn-id: trunk@17938 -
2011-07-05 11:57:11 +00:00
compiler * Rename ag386nsm.pas unit source to agx86nsm.pas 2011-07-04 09:13:55 +00:00
ide * Avoid unitialized VM variable in Preferences method 2011-07-02 07:03:00 +00:00
installer
packages * Renamed fpmake_disabled.pp to fpmake.pp 2011-07-04 21:03:57 +00:00
rtl * Hacking TLS callbacks into proper shape: 2011-07-05 11:57:11 +00:00
tests * merges recent class helper fixes by Sven Barth 2011-06-30 18:54:46 +00:00
utils * Also for -Cg use for x86_64 solaris 2011-06-24 13:52:37 +00:00
.gitattributes * Renamed fpmake_disabled.pp to fpmake.pp 2011-07-04 21:03:57 +00:00
.gitignore
Makefile * regenerated 2011-06-05 17:18:13 +00:00
Makefile.fpc