Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [multithreaded]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

given a list of 3 dimension what is the best approach to find the highest sum

We are given a file of three columns - the first is player name - the second is game item name - the third is the price of the game item when bought by the player items may repeat for the same player ...
Don Freecs's user avatar
3 votes
1 answer
278 views

Help understanding Petersons Algorithm for N Processes

I read the wikipedia article: https://en.m.wikipedia.org/wiki/Peterson%27s_algorithm What I don't understand is how the algorithm is guaranteed to work when the processor or processors are switching ...
FourierFlux's user avatar
1 vote
1 answer
62 views

Multithreaded quicksort

The runtime of Quicksort can be significantly reduced if multiple threads running on multiple cores can be used. With just two cores, just partition an array into two halves and let another thread ...
gnasher729's user avatar
  • 30.4k