Revīziju vēsture

Autors SHA1 Ziņojums Datums
  svenbarth b810d8f32b * fix for Mantis #35027: ensure that the synchronize event entry is reset correctly in case of an exception 6 gadi atpakaļ
  svenbarth 1502a13e7c * fix for Mantis #35028: when the mainthread executes a queued ThreadMethod make sure that the queue entry is released even if an exception is raised 6 gadi atpakaļ
  svenbarth 81fa0924d8 * an exception does not need to inherit from Exception, so declare that as such for the thread queue entry for the sake of clarity 6 gadi atpakaļ
  svenbarth 3e0da1ef1c * fix for Mantis #34640: don't access the thread queue entry directly after it was added to the queue if it's a Queue()d entry instead of a Synchronize()d one 6 gadi atpakaļ
  pierre 921b406c05 Fix for webtbs/tw11006.pp and test/tbs/tb0632.pp instability. 7 gadi atpakaļ
  svenbarth 640480272f * adjust TThread.Synchronize so that it also works correctly if the passed in thread instance is not the instance of the current thread 7 gadi atpakaļ
  svenbarth 2d52536460 * only check for the method if one is given at all (otherwise everything would be skipped) 7 gadi atpakaļ
  svenbarth 81a0f88d8c + add Delphi compatible TThread.ForceQueue() which enqueues the method also for the main thread (at least if the RTL is in multi threading mode, otherwise it's still executed right away - whether this is Delphi compatible needs to be tested as I only have a 10.1 currently which does not yet support TThread.ForceQueue()) 7 gadi atpakaļ
  pierre 78343902bf Allow objpas classes and sysutils units to compile with threading support disabled 8 gadi atpakaļ
  svenbarth ed144a6535 * fix for Mantis #30567; the method only needs to be left with nothing to do if both method and thread are Nil 9 gadi atpakaļ
  svenbarth dc5d9c7001 rtl/objpas/classes/classes.inc, TThread: 9 gadi atpakaļ
  svenbarth d5cc59c22e Avoid the creation of a TExternalThread instance for Synchronize() and Queue() (Delphi does the same). 9 gadi atpakaļ
  michael 789b80f702 * ExecuteInThread added 9 gadi atpakaļ
  michael 9157a11b7e * Applied partial patch from barlone to change var->out for IdentToInt 9 gadi atpakaļ
  yury 7c62aadf65 * Fixed string conversion warnings in RTL. 10 gadi atpakaļ
  svenbarth b0fa341006 Fix for Mantis #28271. 10 gadi atpakaļ
  Károly Balogh cdea58317e classes: since AThreads supports suspended thread creation, enable resume code in AfterConstruction for Amiga-like platforms too 10 gadi atpakaļ
  michael af9798c761 * MOve update of threadqueuetail to critical section 10 gadi atpakaļ
  michael 0b52513c18 * Fix for bug ID #27628 10 gadi atpakaļ
  Tomas Hajny 590e2f7977 * fix for bug #16884 for OS/2 10 gadi atpakaļ
  Károly Balogh e89669bedc rewrite SpinLock to still work without the need to accidentally disable optimizations for a large part of the classes unit 11 gadi atpakaļ
  pierre d4368c55b9 Fix windows problem with FindResource function 11 gadi atpakaļ
  michael ddf6de1b29 * Implemented ReadComponentRes(ex) for bug #21785 11 gadi atpakaļ
  nickysn 015c7e951a * Changed the default packset setting to 1 and disabled the padding of 3-byte 11 gadi atpakaļ
  michael b5a2b3860b * Added AddEmptyStrings to ExtractStrings (bug 25633) 11 gadi atpakaļ
  nickysn e342c11085 + introduced a private type TCodePtrList, which is the specialization 12 gadi atpakaļ
  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 gadi atpakaļ
  svenbarth da7b24e242 Avoid multiple threadvar lookups when querying the current TThread. Inspired by Michael Schnell. 12 gadi atpakaļ
  michael f4c2ba9eb6 * Make sure that current method is removed from stack prior to executing it (bug ID #23629) 12 gadi atpakaļ
  svenbarth 70a7a09413 * use the correct thread ID when checking for the main thread 12 gadi atpakaļ