Commit History

Author SHA1 Message Date
  Sven/Sarah Barth 75b5e8e63d * fix #40603: 1 year ago
  florian acb6c7f36b * win64 has always SetThreadStackGuarantee 1 year ago
  Rika Ichinose a774075f2f Support Windows XP where SetThreadStackGuarantee is absent. 1 year ago
  florian a2f2af87d2 * Windows CE does not support SetThreadStackGuarantee 1 year ago
  florian 14ab1cfb71 * set stack margin on windows, so there is stack space left for exception handling in case of a stack overflow, resolves #40589 1 year ago
  Sven/Sarah Barth 38ca4f9157 * remove semicolon to make Lazarus happy 1 year ago
  Rika Ichinose 62bc640306 Also prevent SyncObjs.THandleObject.WaitForMultiple from unconditionally linking to ole32.dll. 2 years ago
  Rika Ichinose 943b88e3da Delay-load CoWaitForMultipleHandles to not force the dependency on ole32.dll. 2 years ago
  Michael VAN CANNEYT 706e090457 * Char -> AnsiChar 2 years ago
  marcoonthegit f1fcdcfbc3 * Switched from waitformultiple objects to -handles for xp/w7 compat, closes 40297 2 years ago
  marcoonthegit 452ec93f06 * implement waitformultiple for win32 only. 2 years ago
  svenbarth 5a20531d9b * rework the basic event on Windows so that peventstate directly represents the Event handle 4 years ago
  ondrej c64429cdd0 * lazy thread initialization support 4 years ago
  svenbarth 73026618c8 * protect against empty strings inside the SetThreadDebugNameA and -U functions 5 years ago
  svenbarth 68d743a83e * fix for Mantis #36941: apply (adjusted) patch by Bi0T1N to implement SetThreadDebugNameA and -U for Windows, with the exception of Windows CE 5 years ago
  svenbarth c8b7094378 * fix for Mantis #36940: apply (adjusted) patch by Bi0T1N to add functionality to the thread manager to set a thread's debug name (if supported by the platform) 5 years ago
  svenbarth e131a4e014 * nicely align assignment of TThreadManager.CloseThread 5 years ago
  marco 98b1d2b975 * use wingetprocaddress instead of getprocaddress in code under SUPPORT_WIN95. 5 years ago
  florian bb8b8f2eae * do not set IsMultithread on windows, if no second thread is started, resolves #30535 8 years ago
  svenbarth f8b458106e * fix for Mantis #30747: for anonymous events CreateEvent() needs to be called with a Nil parameter for the name, not an empty string 8 years ago
  svenbarth 535621faaa Rename FPC_HAS_INDIRECT_MAIN_INFORMATION to FPC_HAS_INDIRECT_ENTRY_INFORMATION which is more logical considering the record's name 9 years ago
  svenbarth 6afda909d4 Rework TlsKey handling on Windows so that it works as intended with indirect main information 9 years ago
  sergei 83deae45b8 * First part of 64-bit Windows fixes from Mantis #23074. 11 years ago
  sergei 179586f589 + SEH support for Win32. Enable by cycling with OPT=-dTEST_WIN32_SEH. 11 years ago
  sergei 6788fd6433 + Win64 SEH: install a top-level exception handler around thread functions. This was a missing puzzle piece of SEH support. Now behavior of unhandled exceptions in non-main threads is consistent with that of main thread, and, in general, behavior of SEH-enabled RTL is consistent with one without SEH. 12 years ago
  sergei 7969fb4ee1 - Removed TlsSize variable, it duplicates threadvarblocksize. 12 years ago
  pierre f80bc70707 + Add _FPC_TlsSize public symbol for use by heaptrc unit 13 years ago
  pierre 4a9c8e330b + Move EXEC_callback into separate file win/systlsdir.inc 13 years ago
  sergei ef48f93d85 * win/systhrd.inc: modified ThreadMain so it initializes RTL if not already done, allowing TLS callbacks to be optional. 14 years ago
  sergei 5c3aca5148 * thread.inc, DoneThread: allow CurrentTM.ReleaseThreadVars to be unassigned and reset ThreadID (in preparation to support Windows native threadvars) 14 years ago