SilverShade
SilverShade
Explore posts from servers
CC#
Created by SilverShade on 2/20/2024 in #help
ThreadPool implementation with WSQ
I'm trying to implement a simple version of ThreadPool with work stealing queues. It seems like i'm missing something, but can't see what. My implementation with WSQs is actually slower than without them. The implementation of a work stealing queue (WorkStealingQueue class) was provided for me, so you can assume it's not the issue. I'll provide my code in the messages below.
3 replies