Historique des commits

Auteur SHA1 Message Date
  svenbarth b810d8f32b * fix for Mantis #35027: ensure that the synchronize event entry is reset correctly in case of an exception il y a 6 ans
  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 il y a 6 ans
  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 il y a 6 ans
  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 il y a 6 ans
  pierre 921b406c05 Fix for webtbs/tw11006.pp and test/tbs/tb0632.pp instability. il y a 7 ans
  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 il y a 7 ans
  svenbarth 2d52536460 * only check for the method if one is given at all (otherwise everything would be skipped) il y a 7 ans
  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()) il y a 7 ans
  pierre 78343902bf Allow objpas classes and sysutils units to compile with threading support disabled il y a 8 ans
  svenbarth ed144a6535 * fix for Mantis #30567; the method only needs to be left with nothing to do if both method and thread are Nil il y a 9 ans
  svenbarth dc5d9c7001 rtl/objpas/classes/classes.inc, TThread: il y a 9 ans
  svenbarth d5cc59c22e Avoid the creation of a TExternalThread instance for Synchronize() and Queue() (Delphi does the same). il y a 9 ans
  michael 789b80f702 * ExecuteInThread added il y a 9 ans
  michael 9157a11b7e * Applied partial patch from barlone to change var->out for IdentToInt il y a 9 ans
  yury 7c62aadf65 * Fixed string conversion warnings in RTL. il y a 10 ans
  svenbarth b0fa341006 Fix for Mantis #28271. il y a 10 ans
  Károly Balogh cdea58317e classes: since AThreads supports suspended thread creation, enable resume code in AfterConstruction for Amiga-like platforms too il y a 10 ans
  michael af9798c761 * MOve update of threadqueuetail to critical section il y a 10 ans
  michael 0b52513c18 * Fix for bug ID #27628 il y a 10 ans
  Tomas Hajny 590e2f7977 * fix for bug #16884 for OS/2 il y a 10 ans
  Károly Balogh e89669bedc rewrite SpinLock to still work without the need to accidentally disable optimizations for a large part of the classes unit il y a 11 ans
  pierre d4368c55b9 Fix windows problem with FindResource function il y a 11 ans
  michael ddf6de1b29 * Implemented ReadComponentRes(ex) for bug #21785 il y a 11 ans
  nickysn 015c7e951a * Changed the default packset setting to 1 and disabled the padding of 3-byte il y a 11 ans
  michael b5a2b3860b * Added AddEmptyStrings to ExtractStrings (bug 25633) il y a 11 ans
  nickysn e342c11085 + introduced a private type TCodePtrList, which is the specialization il y a 12 ans
  svenbarth bd7cc36ea6 The documentation says that a "BeginThread" needs to be followed by a "CloseThread". The implementation of TThread did not respect this yet. il y a 12 ans
  svenbarth da7b24e242 Avoid multiple threadvar lookups when querying the current TThread. Inspired by Michael Schnell. il y a 12 ans
  michael f4c2ba9eb6 * Make sure that current method is removed from stack prior to executing it (bug ID #23629) il y a 12 ans
  svenbarth 70a7a09413 * use the correct thread ID when checking for the main thread il y a 12 ans