Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi - Threading frameworks [closed]

I am looking for a Threading framework to use in my Delphi application.

Currently I am evaluating ‘OmniThreadLibrary’ - so far it looks good and does everything I need.

Is there any other ‘Threading framework’ for Delphi ?

(I am using D2006 & D2009)

like image 946
Charles Faiga Avatar asked Mar 22 '09 07:03

Charles Faiga


People also ask

How do I use thread in Delphi?

To use a thread object in your application (and to create a descendant of Classes. TThread): Choose one: File > New > Other > Delphi Projects > Delphi Files > Thread Object.

Does Ruby have multithreading?

Multi-threading is the most useful property of Ruby which allows concurrent programming of two or more parts of the program for maximizing the utilization of CPU. Each part of a program is called Thread. So, in other words, threads are lightweight processes within a process.

Does Ruby have green threads?

Ruby doesn't have green threads. Ruby has threads, whether those threads are implemented as green threads or native threads is left to the specific implementation – many implementations (YARV, JRuby, XRuby, Ruby.NET, IronRuby) actually use native threads.

Is Ruby single threaded or multithreaded?

The Ruby Interpreter is single threaded, which is to say that several of its methods are not thread safe. In the Rails world, this single-thread has mostly been pushed to the server.


1 Answers

As per Vegar Suggestion

Based on my few hours of evaluating OmniThreadLibrary

Here are some of the things I like about it

1) It is simple to use

2) It hides most of the details about multi threading

3) With a few lines of code you can set up multiple threads

4) It is easy to do inter process messages

5) It is still been actively developed

like image 182
Charles Faiga Avatar answered Sep 17 '22 13:09

Charles Faiga