Commit History

Author SHA1 Message Date
  svenbarth bd7cc36ea6 The documentation says that a "BeginThread" needs to be followed by a "CloseThread". The implementation of TThread did not respect this yet. 12 years ago
  svenbarth 764f36a179 Extend TThread with (class) methods and (class) properties from Delphi 2007 and newer. 12 years ago
  sergei 2a303c88f5 * On thread creation error, use a resourcestring message and textual representation of system error code. 14 years ago
  sergei ffc357a528 * TThread, Windows implementation: prevent resource leak when destroying an initially suspended and never resumed thread. The thread must be always resumed so that ThreadProc can complete and cleanup. Fixes Mantis #17560. 14 years ago
  sergei a66876704b * Windows platforms: always start a thread in suspended state and resume it later in AfterConstruction if necessary, prevents race conditions in constructor. Fixes Mantis #16884 on Windows. 15 years ago
  florian 88f6b8854e * proper error handling in case of thread creation failure on windows, resolves #13768, no test case due because such a test is too sensitive regarding race conditions etc. and might cause false failures 16 years ago
  marco 82b9749e71 * thread creation failure for win<x>. Mantis 13798 16 years ago
  micha be06f28b18 - win rtl: remove unused thread window (hint by Sergei Gorelkin) 16 years ago
  Vincent Snijders acba12517b * fixed compilation on win64 by using LResult as result type of a window proc 16 years ago
  micha 3b171cb6fb * windows rtl: fix resource leak when cleaning up last tthread without message loop (fixes issue #13173) 16 years ago
  yury ff37ef8786 * fixed i386-wince support. WinCE API functions are cdecl. 18 years ago
  florian 33baacbe04 * fixed leaking of TThread 19 years ago
  florian 4084c4261d + more units for winx64 19 years ago