Giter VIP home page Giter VIP logo

omnithreadlibrary's People

Watchers

James Cloos avatar

Forkers

hwhohwh

omnithreadlibrary's Issues

task-wrapping TComponent

A TComponent that wraps IOmniTaskControl, allowing for simple background 
execution of one task.

Should have at least OnExecute, OnTerminate, OnMessage.

Original issue reported on code.google.com by gabr42 on 4 Nov 2008 at 6:46

redesign thread pool

- Thread pools are not stable - there is some hard to find bug lurking.
- Thread pool should be based on a IOtlTaskControl.
- Reduce number of Windows messages used for pool control (to zero, if 
possible).

Original issue reported on code.google.com by gabr42 on 1 Nov 2008 at 3:12

task.Terminated does not work as expected

Instead of 'if task.Terminated' use

if WaitForSingleObject(task.TerminateEvent, 0) = WAIT_OBJECT_0 then

I do agree that this is my problem - bad object interface. Terminated 
signals whether the task has been fully stopped, not whether it should 
terminate.

Original issue reported on code.google.com by gabr42 on 1 Nov 2008 at 9:41

Passing a object as param

What steps will reproduce the problem?
1. Pass any TComponent descendent using SetParameter in CreateTask;
2. Try to get the value inside the thread using Param or ParamByName;
3. Its raize a access violation exception;

What is the expected output? What do you see instead?
- a object instance;

What version of the product are you using? On what operating system?
- the last one;

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 4 Nov 2008 at 11:40

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.