Click here to Skip to main content
15,891,033 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: Thread management Linux vs Windows Pin
Greg Utas1-Jul-21 4:56
professionalGreg Utas1-Jul-21 4:56 
GeneralRe: Thread management Linux vs Windows Pin
  Forogar  1-Jul-21 4:33
professional  Forogar  1-Jul-21 4:33 
GeneralRe: Thread management Linux vs Windows Pin
den2k881-Jul-21 4:46
professionalden2k881-Jul-21 4:46 
GeneralRe: Thread management Linux vs Windows Pin
W Balboos, GHB1-Jul-21 4:36
W Balboos, GHB1-Jul-21 4:36 
GeneralRe: Thread management Linux vs Windows Pin
Nemanja Trifunovic1-Jul-21 4:56
Nemanja Trifunovic1-Jul-21 4:56 
GeneralRe: Thread management Linux vs Windows Pin
Greg Utas1-Jul-21 6:12
professionalGreg Utas1-Jul-21 6:12 
GeneralRe: Thread management Linux vs Windows Pin
den2k881-Jul-21 21:34
professionalden2k881-Jul-21 21:34 
GeneralRe: Thread management Linux vs Windows Pin
megaadam1-Jul-21 6:33
professionalmegaadam1-Jul-21 6:33 
If you google for "linux parent pid" you will find that you can indeed get the parent pid. Programmatically Speaking: Find parent pid given a pid[^]

The Windows concept of Critical Section "protects code". One can easily get accustomed to this view, but in fact you never need to "protect code", what you need to protect is resources (memory, file handles, etc). Linux has something called spin-locks, which are lightweight mutexes. Kernel Locking Techniques | Linux Journal[^]
"If we don't change direction, we'll end up where we're going"

GeneralRe: Thread management Linux vs Windows Pin
Greg Utas1-Jul-21 8:25
professionalGreg Utas1-Jul-21 8:25 
GeneralRe: Thread management Linux vs Windows Pin
den2k881-Jul-21 21:39
professionalden2k881-Jul-21 21:39 
GeneralW11 - are there Pro and Home versions? Pin
jsc421-Jul-21 1:03
professionaljsc421-Jul-21 1:03 
GeneralRe: W11 - are there Pro and Home versions? Pin
den2k881-Jul-21 1:43
professionalden2k881-Jul-21 1:43 
GeneralRe: W11 - are there Pro and Home versions? Pin
theoldfool1-Jul-21 2:23
professionaltheoldfool1-Jul-21 2:23 
GeneralRe: W11 - are there Pro and Home versions? Pin
den2k881-Jul-21 2:45
professionalden2k881-Jul-21 2:45 
GeneralRe: W11 - are there Pro and Home versions? Pin
jsc421-Jul-21 2:37
professionaljsc421-Jul-21 2:37 
GeneralRe: W11 - are there Pro and Home versions? Pin
Dan Neely1-Jul-21 3:00
Dan Neely1-Jul-21 3:00 
GeneralRe: W11 - are there Pro and Home versions? Pin
den2k881-Jul-21 3:03
professionalden2k881-Jul-21 3:03 
GeneralRe: W11 - are there Pro and Home versions? Pin
Dan Neely1-Jul-21 3:10
Dan Neely1-Jul-21 3:10 
GeneralRe: W11 - are there Pro and Home versions? Pin
Greg Utas1-Jul-21 3:33
professionalGreg Utas1-Jul-21 3:33 
GeneralRe: W11 - are there Pro and Home versions? Pin
David O'Neil1-Jul-21 5:55
professionalDavid O'Neil1-Jul-21 5:55 
Generall89 with i2c communication Pin
Serolla Krish30-Jun-21 23:37
Serolla Krish30-Jun-21 23:37 
GeneralRe: l89 with i2c communication Pin
Richard MacCutchan30-Jun-21 23:41
mveRichard MacCutchan30-Jun-21 23:41 
GeneralRe: l89 with i2c communication Pin
glennPattonWork330-Jun-21 23:49
professionalglennPattonWork330-Jun-21 23:49 
GeneralRe: l89 with i2c communication Pin
Rage1-Jul-21 0:34
professionalRage1-Jul-21 0:34 
GeneralRe: l89 with i2c communication Pin
glennPattonWork31-Jul-21 0:51
professionalglennPattonWork31-Jul-21 0:51 

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.