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).

Filter by
Sorted by
Tagged with
0 votes
1 answer
17 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 ...
Alexander Guyer's user avatar
1 vote
0 answers
39 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 ...
Basile Starynkevitch's user avatar
1 vote
0 answers
22 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-...
Odess4's user avatar
  • 111
2 votes
0 answers
13 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, ...
janekb04's user avatar
  • 121
1 vote
1 answer
143 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 ...
Serge Rogatch's user avatar
1 vote
1 answer
28 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 ...
Kathy.Pu's user avatar
2 votes
0 answers
19 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 ...
Josh Withee's user avatar
0 votes
0 answers
238 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 ...
Mawg says reinstate Monica's user avatar