N
N
nathanael2019-01-04 04:09:46
Programming
nathanael, 2019-01-04 04:09:46

How to develop programs with background tasks?

I want to understand how to make programs in which long operations are performed in the background (for example, compressing or downloading a file from the network, or playing sound) and at the same time the user can control this process (view the list of tasks, add new ones or delete unnecessary ones).
Graphic or text is not important here.
Is there any guide, good examples for a beginner on this topic?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
AlexHell, 2019-01-05
@nathanael

java concurrency in practice - one of the co-authors of Doug Lee
is also applicable to other languages ​​​​if the principles
are not related to the GUI, i.e. it is used on servers to speed up parallelization (queues, locks, lock free - but this is more difficult)

M
metajiji, 2019-01-04
@metajiji

Or use a queue manager. For example, celery in python with rabbitmq or redis depends on the task and message volume.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question