We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [multitasking]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
33 views

Serving tasks of same priority level

In any real time OS, how does the system behave if two tasks of same priority try to access a critical section simultaneously? For example, two tasks A and B have the same priority level 1 and they ...
0
votes
2answers
229 views

How handling CPU-bound tasks can be implemented?

I understand task as task in C#, but this questions is not related to C#. Let's say I have single thread and two tasks (both CPU-bound). I would like to run them concurrently, without running one of ...
5
votes
1answer
2k views

When to use coroutine over generator?

Pipeline processing of data can be done either, using generators only Example generator in pipeline: def grep(source, pattern=None): patternObject = re.compile(pattern) for line in source: ...
19
votes
4answers
7k views

Why coroutines are back? [closed]

Most of the groundwork for coroutines occurred in the 60s/70s and then stopped in favor of alternatives(e.g., threads) Is there any substance to the renewed interest in coroutines that has been ...
6
votes
2answers
511 views

What is the “yield” functionality in Windows 3.11?

I have read that Windows 3.11 uses cooperative multitasking, which means that the OS does not do process scheduling whenever it wants, but rather the currently running process "yield" the execution to ...
-2
votes
3answers
459 views

Is it possible and faster to run an application on an unused CPU core?

Is it possible to move an application (or task) to another core to make it run faster and get all of that cores processing power? The way I understand it is that in an operating system applications ...
3
votes
1answer
122 views

How to communicate between cooperative tasks “first me, then you”?

I am in the final stages of development of a simple embedded system. The device performs PID coefficient estimation and then instantiates a PID controller with the estimated coefficients. The ...
5
votes
2answers
786 views

are multithreading, multiprocessing, multitasking implemented at instruction set or OS?

On a computer with a single cpu core, must a multithreading program be implemented based on an OS? Can it be implemented in the instruction set and run without an OS? Can multiple programs run in ...
0
votes
0answers
93 views

How to handle multiple similar projects? Why? [duplicate]

I currently have 4 projects under development. All of them related to the same product (hardware) but different after all (desktop, android and web environments). That product, the hardware, is ...
6
votes
3answers
335 views

Should I fix small issues or let them go? [closed]

I ran into the following issue where a keyboard shortcut I was used to was no longer working in Ubuntu. That's just an example. For programming, this kinds of thing happens a lot, but it also happens ...
6
votes
3answers
3k views

How to manage/organise when you have to multi-task on multiple 1 man projects? [closed]

We are a team of developers working on multiple small projects - a developer could have 3 or more 1 man projects to work on and keep moving. It can feel like your time is pretty fragmented & ...
3
votes
6answers
379 views

Multiple projects - similar platforms or as different as possible?

When working on multiple projects simultaneously (for the sake of simplicity let's say half time each on two projects), which is better? Should the two projects Use the same language? Same/similar ...
6
votes
3answers
363 views

Multitasking how to keep track of what you're doing

I'm in a long debugging task, I need to figure out where to hook up some extra functionality I need. It's cumbersome work, and I've been debugging 2 whole days, and I'm on my third, but I work in ...