Jump to content

Primož Gabrijelčič

  • Content Count

  • Joined

  • Last visited

  • Days Won


Primož Gabrijelčič last won the day on April 30 2019

Primož Gabrijelčič had the most liked content!

Community Reputation

168 Excellent


Technical Information

  • Delphi-Version
    Delphi 10.2 Tokyo

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Primož Gabrijelčič

    [Q] OmniThreadLibrary - TaskGroup

    Indeed, OnTerminated is the correct approach.
  2. Primož Gabrijelčič

    [Q] OmniThreadLibrary - TaskGroup

    Does this not already work out of the box? If a task is finished, WaitForAll should now that.
  3. Primož Gabrijelčič

    Experience/opinions on FastMM5

    Call stack depth is configurable in FastMM4. {------------- FullDebugMode/LogLockContention constants---------------} const {The stack trace depth. (Must be an *uneven* number to ensure that the Align16Bytes option works in FullDebugMode.)} StackTraceDepth = 19;
  4. Primož Gabrijelčič

    Problem with memory leak

    Check the stack trace to see where this critical section is allocated from. If this is not possible with the FastMM that comes with Delphi (frankly, I don't use it and I have no idea), use FastMM from git and define FullDebugMode conditional.
  5. Primož Gabrijelčič

    Identify task by name in hreadpool

    This is not possible at the moment. You have to implement your own registration mechanism - register a task in some structure when you create it, deregister it when it is completed.
  6. Primož Gabrijelčič

    pipeline and visual feedback

    Oh, that was you! Big thanks! For the record - I'm trying to keep the book in sync with the OTL most of the time.
  7. Primož Gabrijelčič

    pipeline and visual feedback

    Without having a reproducible example, I have no idea. Yes, you need a new pipeline. After a pipeline goes into CompleteAdding state, it cannot be "revived".
  8. Done. OmniThreadLibrary now uses only the DSiWin32 part and ignores DSiWin32.VCL.
  9. Ah, I get it. I don't like to break compatibility but this is something that could be useful, indeed. Alternatively, I may move this functionality into DSiWin32.VCL (which may be altogether a better idea).
  10. Defining NoVCL where? I don't understand.
  11. I have fixed that (just now). DSiWin32 no longer uses Vcl.Graphics if symbol NoVCL is defined.
  12. Primož Gabrijelčič

    pipeline and visual feedback

    Oh, a classic mistake 🙂 Been there, done that.
  13. Sure, TOmniBlockingCollection is fine.
  14. Primož Gabrijelčič

    pipeline and visual feedback

    I don't know. Show us the code. You are probably doing something after that "WaitFor" and I don't know what. What is confusing here? You don't have to wait for pipeline to terminate (WaitFor) to start processing its output.
  15. I would love that too!