Click here to Skip to main content
15,888,351 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 5:43
mvahoney the codewitch19-Jul-20 5:43 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 3:48
professionalEddy Vluggen19-Jul-20 3:48 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 3:49
mvahoney the codewitch19-Jul-20 3:49 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 4:05
professionalEddy Vluggen19-Jul-20 4:05 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 4:44
mvahoney the codewitch19-Jul-20 4:44 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 5:37
professionalEddy Vluggen19-Jul-20 5:37 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 5:39
mvahoney the codewitch19-Jul-20 5:39 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 6:32
professionalEddy Vluggen19-Jul-20 6:32 
honey the codewitch wrote:
That's an I/O bound thread, not a CPU bound thread. I'm purely talking about CPU bound worker threads here.

I/O bound threads follow different rules because they spend most of their time asleep waiting for input.
I don't tell the BGW what kind of thread it is (except that it runs in the background, so shouldn't stop a shutdown of Windows). Not sure the ThreadPool knows that difference either.

Unless you talk about design; if you only mean generic threads meant to do processing and nothing else, then yes. Not my forte to do threads that only process (like a parser, or an Isapi-worker without UI). I just see the term "threads" and go "I create a shitload of them". Lots of apps do (some excessive, my dear Chrome), and they have little cost. Can't imagine creating over 2k threads in Delphi, just to pool them "in case".

Threading is exotic to most, and I'm talking to someone who knows his fibers (without fiberpool). For processing, my main focus is on giving the user feedback, and a time-guestimate. (Number of items existing-number of items processed) per second. So clients like me as much as they like the estimate of the copy-dialogue of Explorer.

So, this thread doesn't involve me at all, even despite it being my favorite subject? Smile | :)
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 6:51
mvahoney the codewitch19-Jul-20 6:51 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 7:29
professionalEddy Vluggen19-Jul-20 7:29 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 8:35
mvahoney the codewitch19-Jul-20 8:35 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 8:53
professionalEddy Vluggen19-Jul-20 8:53 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 9:09
mvahoney the codewitch19-Jul-20 9:09 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 12:54
professionalEddy Vluggen19-Jul-20 12:54 
GeneralRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 13:56
mvahoney the codewitch19-Jul-20 13:56 
QuestionRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen19-Jul-20 15:38
professionalEddy Vluggen19-Jul-20 15:38 
AnswerRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch19-Jul-20 16:21
mvahoney the codewitch19-Jul-20 16:21 
QuestionRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Eddy Vluggen25-Jul-20 12:50
professionalEddy Vluggen25-Jul-20 12:50 
AnswerRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch25-Jul-20 13:39
mvahoney the codewitch25-Jul-20 13:39 
AnswerRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
honey the codewitch25-Jul-20 13:50
mvahoney the codewitch25-Jul-20 13:50 
AnswerRe: Whiskey Tango Foxtrot: On thread pooling, kernel waits and Microsoftisms Pin
Hooga Booga21-Jul-20 3:46
Hooga Booga21-Jul-20 3:46 
GeneralAbout Chuck Norris... PinPopular
Sander Rossel18-Jul-20 0:23
professionalSander Rossel18-Jul-20 0:23 
GeneralRe: About Chuck Norris... Pin
OriginalGriff18-Jul-20 1:23
mveOriginalGriff18-Jul-20 1:23 
GeneralRe: About Chuck Norris... Pin
RickZeeland18-Jul-20 8:03
mveRickZeeland18-Jul-20 8:03 
GeneralI listen to this song and dream of a dev machine with 32GB of RAM Pin
honey the codewitch17-Jul-20 14:21
mvahoney the codewitch17-Jul-20 14:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.