Do you think the threadpooling design pattern is the way for a multi-core future?
The thread library, for example, if used widely, makes / forces the application writer
(1) to break the problem down into separate parallel jobs, which contributes to (enforcing :)) parallelism
(2) With abstraction from all low level OS calls, synchronization, etc. simplifies the life of a programmer. (Especially for C programmers :))
I strongly believe that this is the best way (or one of the "best" ways :)) for a multi-core future ...
So my question is what I write, thinking this way, or am I misled :)
Hi,
Microkernel
- , , . , .
: , , - , (Thread ).
, . , , , . , , .
, . . . , ( ) , .
. , ... .
, : "".
http://en.wikipedia.org/wiki/Embarrassingly_parallel
, ,
Windows NT , -. . IOCP , , , IOCP , - IOC ( ) , IOCP. IOCP . , -, IOCP ( -).
IOC -.
IOCP . IOCP , IOCP, . , . IOC , -, , , , , . , " ". , , IOCP, , .
I really like @yaankee's answer, but I would say that thread pooling is almost always the right way. Reason: The thread pool can degenerate into a simple static partitioning model for problems such as matrix matrix. OpenMP is guided by these lines.
Source: https://habr.com/ru/post/1790514/More articles:The type of the return method that implements the interface - javaASP.NET MVC2 / MVC3 - EnableExtensionlessUrls registry key has disappeared? - asp.net-mvc-3Should unit tests be declared inline? - .netIs there a way to configure Java setEnabled (false)? - javaGoogle App Engine deferred.defer () doesn't work when method returns - pythonHow to delete the last 3 entries in a sequential file - cobolhow to open the second UIPopOverController on the first click - ipadTABLOCKX vs SERIALIZABLE - sqlTask Scheduler Using Priority MultiThreading - multithreadingC # Reporting will not repeat fields on a new page in PDF / print mode - visual-studio-2008All Articles