Commit History

Autor SHA1 Mensaxe Data
  Jonas Maebe 77c1364713 * replaced use of semaphores in Unix version of TThread for suspend/resume %!s(int64=10) %!d(string=hai) anos
  Jonas Maebe 79a40547ca - removed no longer used tthread.FSuspendedExternal %!s(int64=10) %!d(string=hai) anos
  sergei d7c863185f * Added plain calls for semaphore-related functionality, this removes need to maintain a second copy of thread manager in unis/tthread.inc. %!s(int64=11) %!d(string=hai) anos
  sergei 471ffb017c - Removed call to FlushThread, it is redundant since r17798. SysFlushStdio is called from DoneThreads, which is in turn called after exiting from ThreadFunc. %!s(int64=11) %!d(string=hai) anos
  Jonas Maebe cada770f9e * changed return value in case of failure in ThreadManager.SemaphoreInit %!s(int64=11) %!d(string=hai) anos
  svenbarth fbceb574eb Fix for Mantis #25041 . Correctly set CurrentThreadVar for those tthread.inc incarnations that don't use the default ThreadProc in classes.inc (this should be changed in the future though...). In addition to Unix systems as described by the bug report this also involved BeOS and Netware LibC. %!s(int64=12) %!d(string=hai) anos
  svenbarth 764f36a179 Extend TThread with (class) methods and (class) properties from Delphi 2007 and newer. %!s(int64=12) %!d(string=hai) anos
  michael 8dd254b281 * Fixed synchronize/waitfor issue %!s(int64=15) %!d(string=hai) anos
  Jonas Maebe d7cdd9afba * allow tthread-based threads to only start executing once the constructor %!s(int64=15) %!d(string=hai) anos
  Jonas Maebe b214448b9e * don't access the thread instance after calling DoTerminate to avoid %!s(int64=15) %!d(string=hai) anos
  Jonas Maebe 8349cde7db * changed byte/word/longbool to be Delphi-compatible (+ similar changes %!s(int64=17) %!d(string=hai) anos
  Jonas Maebe 4e78a30ee3 * only print exception backtrace at end of unhandled exception in %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe f3a00b0731 * cache result of GetThreadManager in InitThreads %!s(int64=18) %!d(string=hai) anos
  micha dd350255a4 * print thread handle unsigned in unix thread debug info %!s(int64=18) %!d(string=hai) anos
  micha 721ae51cd0 * dump stack when thread terminates because of exception (unix) %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 172f85c8c3 * fixed important typo in better comments :) %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe e93d612f4a * fixed FFreeOnTerminate handing in destructor + better comments %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 4dd3be0e5a * return thread function result via pthread_exit() from CBeginThread %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 526a79a3c6 * disable thread suspension from another thread under *nix, see added %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 157e5eb02e * fixed debug code for 64 bit %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 652d331922 * fixed 64 bit compilation %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe cf4b3f2e4d * don't destroy fsem in tthread.destroy before its potential last use %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 4cbbfd7f5c * set FSuspended also if a tthread is suspended by an external thread %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 1867a46f34 - disabled fix for mantis 6693 from r5662 since the fix itself also %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 96b379ab0b * fixed initial suspending bug in r5662 %!s(int64=18) %!d(string=hai) anos
  Jonas Maebe 0c3afc0cf4 + implementation of cSemaphore* and BasicRTLEvent based on %!s(int64=18) %!d(string=hai) anos