Jetzt anmelden und Abonnement bei eTutor erwerben, um die Möglichkeit zu nutzen, Ausdrücke und Sätze automatisch zu übersetzen.
The beginthread function creates a new thread of execution within the current process.
The code can be executed by creating a remote thread within the target process.
Alternatively, a process might create a new thread and use the pipe to communicate between them.
You can't even create a new thread, many system calls are restricted, and don't even think about doing any job management on your own.
It's much cheaper to create a thread than a process but there's no isolation between them.
Hi I'm new to this and would like to know how to create a new thread.
Creating a new thread for each task would be the worst possible scenario.
If the number of tasks is very large, then creating a thread for each one may be impractical.
Creating and destroying a thread and its associated resources is an expensive process in terms of time.
It's an important way that they create a continuing thread of character over time.