Home > Back-end >  Multithreaded multitasking
Multithreaded multitasking

Time:09-30

Want to consult everybody, multithreading multitask mode requires a layer of outsourcing application calls can be achieved, specific how should do

CodePudding user response:

Threads associated with the system underlying, call winAPI, or c + + class,

CodePudding user response:

C + + have thread support & lt; Pthread>

CodePudding user response:

Multithreading can use omp, this inside the c + + is their own, my compiler is DevC++, if you want to compile in the original file, you find the compiler options - the first option to the top of the box to inside the input - fopenmp can
Specific syntax is
# pragma omp...
For example, according to my compiler generates a project, on the last page, find the OpenMp is ok, it will automatically generate a project for you, and there are two small examples

CodePudding user response:

reference 1st floor GKatHere response:
threads associated with the underlying system, called winAPI, or c + + class.

Thank you, I would like to ask about bosses by setting the timer to compare different mutexes are handled the response speed of the how to do ah, do you have any source code, I see the Internet mutex is a special kind of synchronization and mutex treatment in addition to the mutex, critical region, semaphore mechanism also includes other

CodePudding user response:

Thank you, our teacher said multithreaded multitasking model actually is to implement a module, it represents the need to write an application layer to call it?

CodePudding user response:

I have an article specifically introduced multithreaded c + +, you can see, there will be a deep understanding of
https://blog.csdn.net/xzsfg6825/article/details/80229205
  • Related