Questions tagged [omnithreadlibrary]

OmniThreadLibrary is a Delphi library meant to ease threading.

It's written mainly by Primož Gabrijelčič and released under BSD license.

Resources:

124 questions
-1
votes
1 answer

Delphi OmniThreadLibrary 3.03b: IBackgroundWorker - Termination doesn't work

I have problem with termination of BackgroundWorker in OmniThreadLibrary. Everything is OK, but when I want to terminate BackgroundWorker, termination has failed and BackgroundWorker is still alive. So, whole application that run as batch process is…
-1
votes
1 answer

Run without TOmniEventMonitor

How can I run tasks without TOmniEventMonitor? If I start them without it the main thread freezes. Which makes no sense because OmniThreadLibrary is supposed to be based on TThread. UnObserved doesn't really fix this because it just makes an…
-2
votes
1 answer

Why does TOmniValue not accept named values with length of name equal to 1?

The following program results in an error, raised in the execution of TOmniValue.CreateNamed. {$APPTYPE CONSOLE} uses OtlCommon; var Value: TOmniValue; begin Value := TOmniValue.CreateNamed([ 'a', 42, 'b', 666 ]); …
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490
-3
votes
1 answer

How to prevent OTL Pipeline from making its input sealed?

Many years ago in the old forum I asked Primozh if Pipeline pattern can be kind of Uroboros, feeding half-complete results back to itself. Back then Primozh said it would be straight-forward and PipeLine stage can feed OmniValues not only to the…
Arioch 'The
  • 15,799
  • 35
  • 62
1 2 3
8
9