Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 755541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:08:30+00:00 2026-05-14T15:08:30+00:00

I was just wondering if there’s any field which concerns the task-control programming (or

  • 0

I was just wondering if there’s any field which concerns the task-control programming (or at least that’s the way I call it).

For a better explanation of task-control consider the following scenario:

An application (master-thread) waits for a command – which might be a particular action or a set of actions the application should perform.

When a command is received the master-thread creates a task (= spawns an independent thread which actually does the action) and adds a record in it’s task-list – thus keeping track of the time of execution, thread handle, task priority…etc.

The master-thread awaits for any other incoming commands while taking care of all the tasks – e.g: kills tasks running too long, prioritizes tasks with higher priorities, kills a task on a request of another task, limits the number of currently running tasks, allows task scheduling, cleans finished tasks (threads) and so on.
The model is pretty similar to what we can see in OS dealing with running processes.

Are there any good practices programming such task-models or is there some theoretical work done in this field? Maybe my question is too generalized, but at least I wanted to know whether there are any experiences working on such models or if there’s a better approach.

Thanks for any answers.

  • 1 1 Answer
  • 3 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T15:08:30+00:00Added an answer on May 14, 2026 at 3:08 pm

    There are a number of patterns which may help you here.

    http://parlab.eecs.berkeley.edu/wiki/patterns/patterns

    Task queue and master/worker would be reasonable places to start.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just wondering if there is any easy way to start a debugging session that
just wondering is there any way that I can return one value from my
Just wondering if there are any Java API's that enable you to control the
Just wondering is there any way I can check whether the url links to
Just wondering if there is any way to get the NS records in C#.
Just wondering if there is any benchmark software that I can download that will
just wondering is there any chance that their will be a dummy database schemas
just wondering if there is any way of checking if Value A is equal
Just wondering if there is any way to access the serial port directly in
Just wondering if there is any way (in C) to get the contents of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.