Skip to content

Projeto DelphiMultithreadingBook0202 (página 52) #1

Description

@canrepo

Verifiquei que no projeto DelphiMultithreadingBook0202 (página 52) existe um pequeno bug.
Na unit DelphiMultithreadingBook0202.QueueOrSynchronizeThread.pas, procedure Execute, no bloco "if not Terminated" a procedure nunca é executada quando o FInterfaceUpdateType é igual a "Queue".
Só consegui resolver colocando o primeiro parâmetro da procedure como "nil".
Quando o FInterfaceUpdateType é igual a "Synchronize" o problema não ocorre.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions