Kernel tasks - spawned threads and spawned processes

  • Thread starter Thread starter askingquestion
  • Start date Start date
  • Tags Tags
    Threads
AI Thread Summary
The term "spawned a process" refers to how a software program initiates another program or thread, allowing both to run concurrently. This process involves the operating system's kernel managing threads and processes, which includes loading essential components like device drivers. When a program calls another, it can do so synchronously, where the calling program waits for completion, or asynchronously, where it continues running while the new process executes. Spawning a thread means creating multiple execution paths within a single process, sharing resources, while spawning a process typically involves launching a completely separate executable. A common example is a graphical user interface (GUI) that allows users to open applications without halting its own operations, demonstrating the asynchronous nature of process management.
askingquestion
Messages
5
Reaction score
0
What is spawned a process meaning:
"organizing and managing threads and the various processes spawned by running applications;"
In more granular terms, accomplishing these three kernel functions involves a range of computer tasks, including the following:

  • loading and managing less-critical OS components, such as device drivers;
  • organizing and managing threads and the various processes spawned by running applications;
I try to use google and I not understand the meaning.
From: https://www.techtarget.com/searchdatacenter/definition/kernel
 
Physics news on Phys.org
In the simplest terms, when one software program wants another program to run, it do it in one of two ways. It can "call" it and then wait until it finishes. That type of call is "synchronous" because the caller process does not resume until the called process has completed.

Alternatively, the main process can either "spawn" a thread or another process. It this case, both the parent process and the child process run at the same time.

Spawning a thread simply means that a single process has two execution paths that are sharing the same code base and perhaps other resources.

In some cases "spawning a process" can mean the same thing as spawning a thread. But more often, it refers to one process triggering an entirely different process - with a different executable file.

The most common example of spawning a process is when you run a program or app from your laptop or phone. The GUI that you use to find the right icon and "open" that icon is the parent process. That parent process reds in the file with the new program or app that you have selected and runs it - it "spawns" it. You can see that it continues on after starting your app because if you wish, you can use it to open another app without waiting for the first app to end. That GUI program and the apps that you open with is run asynchronously (without waiting for each other). Each one is a process.
 
Last edited:
Similar to the 2024 thread, here I start the 2025 thread. As always it is getting increasingly difficult to predict, so I will make a list based on other article predictions. You can also leave your prediction here. Here are the predictions of 2024 that did not make it: Peter Shor, David Deutsch and all the rest of the quantum computing community (various sources) Pablo Jarrillo Herrero, Allan McDonald and Rafi Bistritzer for magic angle in twisted graphene (various sources) Christoph...
Thread 'My experience as a hostage'
I believe it was the summer of 2001 that I made a trip to Peru for my work. I was a private contractor doing automation engineering and programming for various companies, including Frito Lay. Frito had purchased a snack food plant near Lima, Peru, and sent me down to oversee the upgrades to the systems and the startup. Peru was still suffering the ills of a recent civil war and I knew it was dicey, but the money was too good to pass up. It was a long trip to Lima; about 14 hours of airtime...
Back
Top