Questions tagged [multi-threading]
Multi-threading is the ability of a computer or a program to perform work concurrently or asynchronously by utilizing multiple concurrent streams of execution (generally referred to as threads).
8 questions
0
votes
1
answer
57
views
C++ library providing generic shared-resource locking wrapper
I have a pool of threads that asynchronously acquire and execute tasks in a queue. Some of these tasks operate over some shared resources. I would like to:
Provide a contract that separates shared ...
1
vote
0
answers
50
views
source code analyzer for pthread_mutex types (and lock/unlock balancing)
For the RefPerSys project (Linux/x86-64, GPLv3+ licensed), its refpersys-in-c variant, commit 1441e0fa148d, I am seeking a source code analyzer which checks that calls to pthread_mutex_lock and ...
1
vote
0
answers
29
views
Decompose a video frame into an array of RGB values - C++
I am currently trying to write a motion detection algorithm for a college project (Parallel programming). My idea is to decompose a video into multiple frames, which will then be converted into a 2D-...
2
votes
0
answers
15
views
Looking for a concurrent data structure checker
While reading “C++ Concurrency in Action 2nd Edition” by Anthony Williams, I stumbled across a sentence about an automatic tool that verifies concurrent data structures. He said that such tools exist, ...
1
vote
1
answer
276
views
Windows 64-bit C++ performance profiler to attach to a massively multi-threaded program
Could you please recommend a C++ performance profiler for Windows 64-bit that can attach to a running process and collect stack traces? The profiled program is massively-multithreaded: thousands of ...
1
vote
1
answer
33
views
multi-thread communication structure
I know the basic cross-thread communication method, like pipe, socketpair.
Is there any open source that implements the multi-thread communication structure so that I can integrate with my ...
2
votes
0
answers
24
views
Prime number tester that can effectively utilize an arbitrary number of parallel threads
I am looking for a Linux program that can test for primality of a lengthy integer, (at least 10^8 digits long), and is built to increase performance arbitrarily as the degree of parallelism is ...
0
votes
0
answers
275
views
Tool to tell me the optimal number of threads
This S.O question is knocking on seven years old already.
It asks what the optimal number of threads is (or was, back in the days when there were no multi-core CPUS).
Is there any app which I can ...