Jump to content

Leif Uneus

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

7 Neutral
  1. Leif Uneus

    AV on finalizing TThreadPool [PPL]

    Not exactly the same, but https://quality.embarcadero.com/browse/RSP-23466 shows that the threading library in Rio is defect.
  2. Define "weird". Enumerations with defined ordinal values do not have RTTI. See http://docwiki.embarcadero.com/RADStudio/en/Simple_Types_(Delphi)#Enumerated_Types_with_Explicitly_Assigned_Ordinality
  3. Do you have benchmark tests for Pos, ZeroMemory, FillChar and Move (Compared to the Win32 and Win64 RTL)?
  4. There was a race condition in the TRttiContext, causing errors in multi-thread applications. As @David Heffernan says, it is best used as a singleton. Seems to be fixed in Delphi 10.3 Rio. https://quality.embarcadero.com/browse/RSP-9815 https://stackoverflow.com/q/27368556/576719 "TRttiContext Multi-thread issue"
  5. Leif Uneus

    How to switch condition position?

    Result := Result or (condition);
  6. @Incus J Using Application.ProcessMessages is not the correct way to test if the GUI is updated in a lengthy process. Put your lengthy operation in a separate thread and add a possibility to cancel it if the GUI detects such a request. Application.ProcessMessages can lead to many hard to find anomalies and program failures.
  7. Leif Uneus

    Delphi Bugs reported to QualityPortal

    30+ new reports added today. Until a couple of hotfixes and at least one update, I will use it for testing.
  8. @Stefan Glienke I could not agree more. Releasing software and updates based on a new compiler version is a risky business and tests are very time consuming.
  9. Unfortunately the introduction of custom managed records has been deferred to version 10.4 See http://blog.marcocantu.com/blog/2018-november-deferring-managed records.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+marcocantublog+(marcocantu.blog) Pity, since I can see many important use cases for this language enhancement. Guess I will have to bide my time another year.
×