Re: [fpc-pascal] Signing applications, how?

2024-08-10 Thread Derek Edson via fpc-pascal
I have been using signtool for a number of years for apps built with Delphi and/or FPC. The question of whether you need a expensive CA based certification will depend on your IT department. Any certificate from any certification authority will work to sign an app, but it needs to be trusted by W

Re: [fpc-pascal] Question about System.Move()

2021-01-29 Thread Derek Edson via fpc-pascal
other thread involved. > If there was another thread, there would be a reference in this thread and > in the other thread, so the reference count would be at least 2 > > > It is exactly as thread safe as the unoptimized function. If the reference > count was 1, the unoptimized f

Re: [fpc-pascal] Question about System.Move()

2021-01-27 Thread Derek Edson via fpc-pascal
Your simplified code would not be thread safe. A thread swap after the first instruction of mov (%rdi), %rax could potentially cause a problem. RAX (A) contains the pointer to the string descriptor, which includes the pointer to the actual string data and the reference count. Should "A"