Jump to content

Leaderboard


Popular Content

Showing content with the highest reputation on 07/17/21 in Posts

  1. TurboMagic

    Class tree utility released

    Hello, I just released a new little utility on GitHub: https://github.com/MHumm/ClassTree It can be used to generate class tree representations for documentation purposes. I hope you like it and don't mind that it's a first version which might still be a bit raw. It fullfiled at least my purposes. Cheers TurboMagic
  2. pyscripter

    Running Python scripts in threads

    class procedure TPythonThread.Py_Begin_Allow_Threads; You also need to call Py_End_Allow_Threads when all threads finish.
  3. David Heffernan

    Convert Double to Real

    Given this definition type Real = Double; I'd say you don't have much to fear. Of course, this code doesn't compile.
  4. Dalija Prasnikar

    TListView filled by Thread = Freeze

    You have a deadlock. Waiting for background thread in main thread that uses Synchronize is recipe for disaster. Namely, when you start waiting you are blocking main thread until thread is finished, but when thread encounters Synchronize it will try to execute that code in the context of the main thread, but since main thread is on hold at that time Synchronize will never be able to run and finish. You should use TThread.Queue instead.
×