Commit Verlauf

Autor SHA1 Nachricht Datum
  Michaël Van Canneyt f138af02b9 * Fix by Mark Paley to add IfThen for StringList and TStringDynArray. Issue #39314 vor 4 Jahren
  ondrej 706d89d6cc * GlobalNameSpace must EndWrite before it is released to unlock the critical section vor 4 Jahren
  ondrej 192bbc07f5 * simplify TThread.RemoveQueuedEvent - decide what to delete and not what to leave (better corresponds with the docs) vor 4 Jahren
  svenbarth a624348692 * when removing a method from the synchronization queue using TThread.RemoveQueuedEvent then both the Code and the Data need to match (Delphi does the same) vor 4 Jahren
  svenbarth 11b601d44c * TThread.Terminate does not have any platform specific behavior (it should only set FTerminated to true and call TerminatedSet), thus move it to the platform independant part vor 5 Jahren
  michael b7bd9f3325 * Add TerminatedSet (delphi compatibility, bug ID #37388) vor 5 Jahren
  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) vor 5 Jahren
  michael e3973e9c4e * Fix bug #35305, lazy instantiation of class alias list. Patch from Ondrej Pokorny vor 6 Jahren
  svenbarth b810d8f32b * fix for Mantis #35027: ensure that the synchronize event entry is reset correctly in case of an exception vor 6 Jahren
  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 vor 6 Jahren
  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 vor 6 Jahren
  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 vor 6 Jahren
  pierre 921b406c05 Fix for webtbs/tw11006.pp and test/tbs/tb0632.pp instability. vor 7 Jahren
  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 vor 7 Jahren
  svenbarth 2d52536460 * only check for the method if one is given at all (otherwise everything would be skipped) vor 7 Jahren
  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()) vor 7 Jahren
  pierre 78343902bf Allow objpas classes and sysutils units to compile with threading support disabled vor 8 Jahren
  svenbarth ed144a6535 * fix for Mantis #30567; the method only needs to be left with nothing to do if both method and thread are Nil vor 9 Jahren
  svenbarth dc5d9c7001 rtl/objpas/classes/classes.inc, TThread: vor 9 Jahren
  svenbarth d5cc59c22e Avoid the creation of a TExternalThread instance for Synchronize() and Queue() (Delphi does the same). vor 9 Jahren
  michael 789b80f702 * ExecuteInThread added vor 9 Jahren
  michael 9157a11b7e * Applied partial patch from barlone to change var->out for IdentToInt vor 9 Jahren
  yury 7c62aadf65 * Fixed string conversion warnings in RTL. vor 10 Jahren
  svenbarth b0fa341006 Fix for Mantis #28271. vor 10 Jahren
  Károly Balogh cdea58317e classes: since AThreads supports suspended thread creation, enable resume code in AfterConstruction for Amiga-like platforms too vor 10 Jahren
  michael af9798c761 * MOve update of threadqueuetail to critical section vor 10 Jahren
  michael 0b52513c18 * Fix for bug ID #27628 vor 10 Jahren
  Tomas Hajny 590e2f7977 * fix for bug #16884 for OS/2 vor 10 Jahren
  Károly Balogh e89669bedc rewrite SpinLock to still work without the need to accidentally disable optimizations for a large part of the classes unit vor 11 Jahren
  pierre d4368c55b9 Fix windows problem with FindResource function vor 11 Jahren