Commit History

Автор SHA1 Съобщение Дата
  Michael VAN CANNEYT d23fa5a87f * Char -> AnsiChar преди 2 години
  Sven/Sarah Barth e774a6275c * change Result of CheckSynchronize to true when at least one method was executed (matches with both FPC and Delphi documentation) преди 2 години
  Sven/Sarah Barth b2b2606e36 + add function reference suitable overload of TThread.ForceQueue() преди 2 години
  Michaël Van Canneyt 0e2102e172 * Resource handle is not resource ID преди 2 години
  Michaël Van Canneyt c3c3bd3471 * Fix windows compilation преди 2 години
  Michaël Van Canneyt f9a96e5e63 * Avoid useless exceptions by checking existence of resource преди 2 години
  mattias ea4768456f rtl: ObjectBinaryToText, ObjectTextToBinary: support unitname/classname преди 2 години
  marcoonthegit e5ac0b2689 * anonymous method overloads for synchronize/queue. преди 3 години
  Michaël Van Canneyt 52c8ac0ca0 * Fix by Mark Paley to add IfThen for StringList and TStringDynArray. Issue #39314 преди 4 години
  ondrej 706d89d6cc * GlobalNameSpace must EndWrite before it is released to unlock the critical section преди 4 години
  ondrej 192bbc07f5 * simplify TThread.RemoveQueuedEvent - decide what to delete and not what to leave (better corresponds with the docs) преди 4 години
  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) преди 4 години
  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 преди 5 години
  michael b7bd9f3325 * Add TerminatedSet (delphi compatibility, bug ID #37388) преди 5 години
  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) преди 5 години
  michael e3973e9c4e * Fix bug #35305, lazy instantiation of class alias list. Patch from Ondrej Pokorny преди 6 години
  svenbarth b810d8f32b * fix for Mantis #35027: ensure that the synchronize event entry is reset correctly in case of an exception преди 6 години
  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 години
  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 години
  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 години
  pierre 921b406c05 Fix for webtbs/tw11006.pp and test/tbs/tb0632.pp instability. преди 7 години
  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 години
  svenbarth 2d52536460 * only check for the method if one is given at all (otherwise everything would be skipped) преди 7 години
  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 години
  pierre 78343902bf Allow objpas classes and sysutils units to compile with threading support disabled преди 8 години
  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 години
  svenbarth dc5d9c7001 rtl/objpas/classes/classes.inc, TThread: преди 9 години
  svenbarth d5cc59c22e Avoid the creation of a TExternalThread instance for Synchronize() and Queue() (Delphi does the same). преди 9 години
  michael 789b80f702 * ExecuteInThread added преди 9 години
  michael 9157a11b7e * Applied partial patch from barlone to change var->out for IdentToInt преди 9 години