Click here to Skip to main content
15,897,718 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: What are all those threads in Windows doing? Pin
DRHuff11-Jul-18 9:24
DRHuff11-Jul-18 9:24 
GeneralRe: What are all those threads in Windows doing? Pin
Nelek11-Jul-18 20:01
protectorNelek11-Jul-18 20:01 
GeneralRe: What are all those threads in Windows doing? Pin
TNCaver12-Jul-18 7:41
TNCaver12-Jul-18 7:41 
GeneralRe: What are all those threads in Windows doing? Pin
Gary Wheeler11-Jul-18 7:20
Gary Wheeler11-Jul-18 7:20 
GeneralRe: What are all those threads in Windows doing? Pin
raddevus11-Jul-18 8:46
mvaraddevus11-Jul-18 8:46 
GeneralRe: What are all those threads in Windows doing? Pin
Marc Clifton11-Jul-18 11:36
mvaMarc Clifton11-Jul-18 11:36 
GeneralRe: What are all those threads in Windows doing? Pin
kalberts11-Jul-18 21:56
kalberts11-Jul-18 21:56 
GeneralRe: What are all those threads in Windows doing? Pin
Stuart Dootson12-Jul-18 6:24
professionalStuart Dootson12-Jul-18 6:24 
Thread pools, possibly... It's the easiest way to offload asynchronous tasks (such as IO, or getting concurrency with a work queue), without having to manage the nitty gritty details of creating threads. And also eliminates the latency of thread creation, by having numbers of threads sitting waiting to be called upon.

And the load on the system won't be too bad... A thread that's always dormant has probably only committed a few pages of RAM (each page is only 4kB), and also a slot in the kernel scheduler (but if it spends all its time in a wait state, it'll never get promoted to the run queue, so the scheduler won't actually have to bother with it). Each thread will consume 1MB for its stack, but that's just an allocation out of a process's virtual address space (2GB for 32-bit processes, 8TB for 64-bit processes), which shouldn't be too much of a problem.
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p

QuestionHow do you handle this? Pin
Eytukan11-Jul-18 3:44
Eytukan11-Jul-18 3:44 
AnswerRe: How do you handle this? Pin
Marc Clifton11-Jul-18 3:48
mvaMarc Clifton11-Jul-18 3:48 
GeneralRe: How do you handle this? Pin
Eytukan11-Jul-18 4:00
Eytukan11-Jul-18 4:00 
GeneralRe: How do you handle this? Pin
raddevus11-Jul-18 4:53
mvaraddevus11-Jul-18 4:53 
GeneralRe: How do you handle this? Pin
Eytukan11-Jul-18 7:56
Eytukan11-Jul-18 7:56 
GeneralRe: How do you handle this? Pin
Marc Clifton11-Jul-18 11:39
mvaMarc Clifton11-Jul-18 11:39 
AnswerRe: How do you handle this? Pin
Eddy Vluggen11-Jul-18 4:52
professionalEddy Vluggen11-Jul-18 4:52 
GeneralRe: How do you handle this? Pin
Eytukan11-Jul-18 7:57
Eytukan11-Jul-18 7:57 
AnswerRe: How do you handle this? Pin
Mycroft Holmes11-Jul-18 15:40
professionalMycroft Holmes11-Jul-18 15:40 
AnswerRe: How do you handle this? Pin
Nelek11-Jul-18 20:09
protectorNelek11-Jul-18 20:09 
GeneralWell, if we beat Croatia, I might have to go to the pub and sing the Marseillaise! Pin
Munchies_Matt11-Jul-18 3:22
Munchies_Matt11-Jul-18 3:22 
GeneralRe: Well, if we beat Croatia, I might have to go to the pub and sing the Marseillaise! Pin
Rage11-Jul-18 3:34
professionalRage11-Jul-18 3:34 
GeneralRe: Well, if we beat Croatia, I might have to go to the pub and sing the Marseillaise! Pin
Munchies_Matt11-Jul-18 3:38
Munchies_Matt11-Jul-18 3:38 
GeneralRe: Well, if we beat Croatia, I might have to go to the pub and sing the Marseillaise! Pin
Eytukan11-Jul-18 4:07
Eytukan11-Jul-18 4:07 
GeneralRe: Well, if we beat Croatia, I might have to go to the pub and sing the Marseillaise! Pin
Rage11-Jul-18 13:44
professionalRage11-Jul-18 13:44 
GeneralRe: Well, if we beat Croatia, I might have to go to the pub and sing the Marseillaise! Pin
Eytukan11-Jul-18 17:55
Eytukan11-Jul-18 17:55 
GeneralRe: Well, if we beat Croatia, I might have to go to the pub and sing the Marseillaise! Pin
Rage11-Jul-18 21:24
professionalRage11-Jul-18 21:24 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   266 votes