The Active Network
ActiveMac Anonymous | Create a User | Reviews | News | Forums | Advertise  
 

  *  

  Why are process and thread IDs multiples of four?
Time: 07:17 EST/12:17 GMT | News Source: Microsoft | Posted By: Kenneth van Surksum

Raymond Chen: On Windows NT-based operating systems, process and thread IDs happen always to be a multiple of four. Is this just a coincidence?

Yes, it's just a coincidence, and you shouldn't rely on it since it is not part of the programming contract. For example, Windows 95 process and thread IDs were not always multiples of four. (By comparison, the reason that kernel handles are always a multiple of four is part of the specification and will be guaranteed for the foreseeable future.)

Process and thread IDs are multiples of four as a side-effect of code re-use. The same code the allocates kernel handles is also used to allocate process and thread IDs. Since kernel handles are a multiple of four, so too are process and thread IDs. This is an implementation detail, so don't write code that relies on it. I'm just telling you to satify your curiosity.

Write Comment
Return to News

  Displaying 801 through 812 of 812
Prev | First
  The time now is 6:57:16 AM ET.
Any comment problems? E-mail us
#801 By 4240821 (178.173.249.36) at 3/17/2026 9:26:07 AM
https://telegra.ph/Carlos-Cuerpos-Shocking-Comeback-The-Underdog-Who-Dominated-the-Competition-03-11
https://telegra.ph/Darren-Jones-Shocking-Revelation-The-Truth-Behind-the-Viral-Scandal-That-Rocked-the-Nation-03-11
https://telegra.ph/Indian-Wells-A-Tennis-Showdown-That-Could-Rewrite-the-Grand-Slam-Race-03-11-2
https://telegra.ph/Kiabis-Latest-Rappel-Collection-Stylish-Vêtements-for-Every-Season-03-11
https://telegra.ph/Gillian-Anderson-Shocks-Fans-with-Bold-New-StatementHeres-What-She-Said-03-11
https://telegra.ph/LiveSport-Breaking-News-Star-Athlete-Shocks-Fans-with-Dramatic-Comeback-Victory-03-11
https://telegra.ph/Battlefield-Chaos-Soldiers-Face-Deadly-Storm-as-Warzone-Turns-Deadly-03-11
https://telegra.ph/Daniela-Zinnantis-Shocking-Revelation-The-Truth-Behind-the-Viral-Scandal-That-Rocked-the-Industry-03-11
https://telegra.ph/Joëlle-Milquets-Shocking-Revelation-The-Truth-Behind-the-Scandal-That-Rocked-the-World-03-11
https://telegra.ph/Roland-Lescures-Shocking-Revelation-The-Truth-Behind-the-Scandal-That-Rocked-the-World-03-11

#802 By 4240821 (178.173.249.36) at 3/18/2026 9:51:31 PM
https://telegra.ph/Rockstar-Games-Unveils-Next-Gen-Gaming-Experience-with-Groundbreaking-New-Title-02-04-2
https://telegra.ph/Vigos-Secret-The-City-Thats-Shaking-Up-Urban-Innovation-02-04-3
https://telegra.ph/Falcon-Breakthrough-Scientists-Discover-New-Species-with-Unique-Flight-Patterns-02-04
https://telegra.ph/Nets-Reveal-Hidden-Patterns-in-Climate-Data-02-04-2
https://telegra.ph/Epstein-File-Leaks-Explosive-PDF-Exposes-Hidden-Connections-02-04
https://telegra.ph/Meteo-Lecce-Unprecedented-Storm-System-Looms-Over-City-Experts-Warn-of-Major-Disruptions-02-04
https://telegra.ph/Unemployment-Rate-Hits-Staggering-New-Highs-Across-Major-Cities-02-04
https://telegra.ph/Amazon-Fallout-Countdown-The-Moment-of-Truth-Approaches-02-04
https://telegra.ph/Revolutionary-App-Stock-Surges-as-Tech-Giants-Eye-Market-Domination-02-04
https://telegra.ph/Bormios-Ancient-Spas-Make-a-Modern-Wellness-Comeback-02-04-3

#803 By 4240821 (178.173.249.36) at 3/20/2026 2:08:06 PM
https://telegra.ph/Lady-Whistledown-Approves-Bridgerton-Season-3-Promises-Scandal-Romance-and-a-Lord-Featherington-Fiasco-01-29
https://telegra.ph/Bonde-Sökers-Fru-Anders-Mood-Sparks-Sudden-Love-Tsunami-Across-Scandinavian-Farms-01-29
https://telegra.ph/Hurricane-Seasons-Fiercest-Winds-Unleashed-Coastal-Towns-Brace-for-Impact-01-29
https://telegra.ph/Svitolina-Sizzles-Ukrainian-Star-Ignites-Wimbledon-with-Fiery-Performance-01-29
https://telegra.ph/Bodø-Glimt-Shatters-Records-with-Unstoppable-Winning-Streak-01-29
https://telegra.ph/Pakistan-vs-Australia-Cricket-Showdown-Heats-Up-as-Both-Nations-Clash-in-Historic-Match-01-29
https://telegra.ph/Droneshield-Aktie-Poised-for-Breakthrough-as-Defense-Tech-Gains-Momentum-01-29
https://telegra.ph/Rybakina-Returns-Powerhouse-Proving-Dominance-on-the-Court-01-29-4
https://telegra.ph/Dunoon-Unveils-Revolutionary-EcoFriendly-Tech-to-Revolutionize-Solar-Power-01-29
https://telegra.ph/Shocking-Lotto-Gewinnzahlen-Jackpot-Hits-Record-High-01-29

#804 By 4240821 (178.173.249.36) at 3/21/2026 2:40:34 PM
https://telegra.ph/Cadillac-F1-Luxury-Meets-Futuristic-Performance-on-the-Racetrack-02-09-2
https://telegra.ph/Lec-Tec-Breakthrough-Scientists-Unveil-Revolutionary-Quantum-Computing-Leap-02-09-2
https://telegra.ph/Olympic-Fever-Rises-All-Eyes-on-zimnie-olimpijskie-igry--2026-02-09
https://telegra.ph/Seahawks-Coach-Makes-Shocking-Midseason-Switch-to-Offensive-Coordinator-Role-02-09
https://telegra.ph/Sofia-Vergaras-Stunning-Transformation-From-Actress-to-Fitness-Icon-02-09-5
https://telegra.ph/ZDF-Serie-Frühling-Country-Lifes-Unexpected-Twists-Sweep-Viewers-Off-Their-Feet-02-09
https://telegra.ph/Kid-Rocks-Radical-New-Album-Tackles-Modern-Mayhem-with-Unconventional-Beats-02-09
https://telegra.ph/Prezzo-Unico-Nazionale-Markets-React-to-Record-Breaking-Price-Shock-02-09
https://telegra.ph/Jordan-Mailata-The-Human-Highlight-Reel---From-Rugby-Star-to-NFL-Sensation-02-09-2
https://telegra.ph/Charlie-Puth-Drops-Unexpected-Love-Anthem-That-Dominates-Charts-Worldwide-02-09

#805 By 4240821 (178.173.249.36) at 3/24/2026 6:34:08 PM
https://telegra.ph/Iftar-Dua-A-Moment-of-Gratitude-That-Lights-Up-the-Fast-of-Ramadan-02-22
https://telegra.ph/Tatort-Schmerz-The-Hidden-Agony-of-Everyday-Life-02-22
https://telegra.ph/Love-Story-TV-Series-Unveils-Shocking-Twist-That-Will-Break-Your-Heart-02-22
https://telegra.ph/iPhone-18-The-Ultimate-Revolution-in-Smartphone-Tech--See-Whats-Next-02-22
https://telegra.ph/Henry-Cavills-Bold-Move-Why-the-Actor-Is-Leaving-HollywoodAnd-What-It-Means-for-Fans-02-22
https://telegra.ph/iPhone-18-The-Ultimate-Tech-Revolution--Is-It-Worth-the-Hype-02-22
https://telegra.ph/CJNGs-Shocking-Move-Drug-Lords-Son-Exposed-in-Deadly-Gang-War-02-22
https://telegra.ph/Mexicos-Shocking-New-Law-What-You-Need-to-Know-Now-02-22
https://telegra.ph/Robert-Aramayos-Shocking-Revelation-The-Truth-Behind-the-Viral-Conspiracy-That-Could-Change-Everything-02-22
https://telegra.ph/John-Davidsons-Shocking-Revelation-The-Truth-Behind-the-Scandal-That-Rocked-the-Nation-02-22

#806 By 4240821 (178.173.249.36) at 3/26/2026 9:57:36 AM
https://telegra.ph/NVIDIA-Aktien-Boom-oder-Crash-Analysten-teilen-ihre-Prognosen-für-das-kommende-Quartal-02-26
https://telegra.ph/Fintech-Innovation-Revolutionizes-Banking-How-AI-and-Blockchain-Are-Redefining-the-Future-of-Finance-02-26
https://telegra.ph/Jeroen-Pauws-Bold-Move-Shakes-the-MarketWhats-Next-02-26
https://telegra.ph/Wizz-Airs-Shocking-Move-Why-This-Budget-Giant-Just-Made-Travelers-Question-Everything-02-26
https://telegra.ph/Gaite-Jansens-Shocking-Comeback-How-the-Underdog-Dominated-the-Competition-02-26-3
https://telegra.ph/Benfica-Stuns-Champions-Portuguese-Giant-Secures-Unlikely-Title-in-Dramatic-Finale-02-26
https://telegra.ph/Budstikkas-Shocking-Breakthrough-How-This-Tiny-Device-Could-Revolutionize-the-Future-02-26
https://telegra.ph/Katie-Boulters-Epic-Comeback-From-Heartbreak-to-Wimbledon-Glory-02-26
https://telegra.ph/Benfica-Stuns-Champions-League-Unstoppable-Attack-Shocks-World-02-26
https://telegra.ph/Wu-Tang-Clan-Drops-Shocking-New-Album-Fans-in-Chaos-as-Legendary-Rap-Group-Returns-After-Decades-02-26

#807 By 4240821 (178.173.249.36) at 3/27/2026 1:43:17 PM
https://telegra.ph/Lukáš-Pavláseks-Shocking-Exit-What-Happened-to-the-Czech-Star-02-19
https://telegra.ph/Polymarket-Predictions-Can-AI-Outsmart-the-Market-The-Future-of-Trading-is-Here-02-19
https://telegra.ph/Inter-Mailand-A-Shocking-Twist-in-the-World-of-Football-02-19
https://telegra.ph/Lil-Poppas-Shocking-Comeback-How-He-Dominated-the-Charts-Again-02-19
https://telegra.ph/Peter-Greenes-Shocking-Revelation-The-Truth-Behind-the-Scandal-That-Rocked-the-Nation-02-19
https://telegra.ph/Premier-League-Table-Chaos-Shock-Upsets-and-Dramatic-Falls-Leave-Fans-in-Awe-02-19
https://telegra.ph/Joe-Browns-Shocking-Comeback-How-the-Underdog-Pulled-Off-the-Unthinkable-02-19
https://telegra.ph/Test-Your-Limits-The-Shocking-Truth-About-the-Ultimate-Challenge-02-19
https://telegra.ph/Zimnie-Olimpijskie-igry-2026-Figurnoe-katanie--zhenshchiny-v-ogne-na-proizvolnoj-programme-02-19
https://telegra.ph/Diego-Simeones-Masterclass-How-the-Madrid-Legend-Transformed-Los-Blancos-into-Champions-02-19

#808 By 4240821 (185.214.74.118) at 4/2/2026 9:06:02 PM
https://telegra.ph/Norse-Myths-Unearthed-Viking-Secrets-Hidden-in-Ancient-Runes-03-19
https://telegra.ph/Gazzetta-Ufficiale-Shocking-Revelation-in-Latest-Edition-03-19
https://telegra.ph/Inwit-Unleashed-The-Secret-Weapon-Behind-the-Next-Big-Breakthrough-03-19
https://telegra.ph/Apeldoorn-Shocks-Nation-Radical-Shift-in-Gemeenteraadsverkiezingen-2026-Uitslag-Leaves-Experts-Stunned-03-19
https://telegra.ph/Dhruvandhar-2-The-Next-Frontier-in-Space-ExplorationHumanitys-Giant-Leap-or-Cosmic-Disaster-03-19
https://telegra.ph/Bayern-Dominates-Again-Another-Record-Breaking-Season-as-Guardiolas-Men-Crowned-Champions-03-19
https://telegra.ph/Celtics-vs-Warriors-Historic-Showdown-in-the-NBA-FinalsWho-Will-Rise-to-the-Occasion-03-19
https://telegra.ph/Soud-zakázal-vysílání-filmu-Sbormistr-v-šoku-03-19
https://telegra.ph/Zeitumstellung-2026-The-Shocking-Truth-Behind-the-Global-Time-Shift-That-Will-Change-Everything-03-19
https://telegra.ph/Queen-Mary-of-Denmark-Shakes-Up-Royal-Fashion-with-Bold-New-Style-Statement-03-19

#809 By 4240821 (185.214.74.118) at 4/3/2026 9:22:00 AM
https://telegra.ph/Pollenflug-Aktuell-Record-Levels-of-Allergens-Trigger-Massive-Health-Alerts-Across-Europe-02-24
https://telegra.ph/FICO-Scores-Plummet-as-Economic-Uncertainty-Grips-Nation-02-24
https://telegra.ph/Felix-Beijmos-Shocking-Comeback-How-the-Underdog-Dominated-the-Competition-02-24
https://telegra.ph/Försäkringskassan-Shocked-by-Surge-in-Fraudulent-ClaimsHeres-How-to-Protect-Yourself-02-24
https://telegra.ph/Bitcoin-Koers-in-Dollar-Shocking-Plunge-as-Traders-Panic-Over-Market-Crash-02-24
https://telegra.ph/Kevin-Costners-Epic-Comeback-How-the-Legend-Conquered-His-FearsAnd-the-Criticson-the-Big-Screen-Again-02-24
https://telegra.ph/Casados-a-Primera-Vista-Love-at-First-Sight-Leads-to-a-Shocking-Wedding-02-24
https://telegra.ph/Boris-Beckers-Shocking-Comeback-The-Legend-Returns-to-Tennis-After-30-Years-02-24-2
https://telegra.ph/Sky-Sports-Football-Unveils-Shocking-Transfer-Rumors-Premier-League-Stars-Set-for-Surprise-Moves-02-24
https://telegra.ph/Manchester-Uniteds-Shocking-Transfer-Move-The-Player-Who-Could-Change-Everything-02-24

#810 By 4240821 (185.214.74.118) at 4/5/2026 12:53:09 AM
https://telegra.ph/Full-Moon-in-April-2026-Rare-Celestial-Event-Lights-Up-the-Night-Sky-04-03-2
https://telegra.ph/LDU-Quito-Stuns-Barcelona-SC-in-Epic-Clash-04-03
https://telegra.ph/Eurojackpot-Ziehung-Jackpot-Explodes-to-100-Million--Whos-the-Lucky-Winner-04-03
https://telegra.ph/The-Last-of-Us-A-Devastating-New-Trailer-DropsIs-the-Series-Over-04-03
https://telegra.ph/Til-Schweigers-Bold-Move-How-the-Oscar-Winning-Actor-Stole-the-Show-at-the-Golden-Globes-04-03
https://telegra.ph/Shocking-Closures-Where-to-Find-Open-Stores-on-Easter-Night-04-03
https://telegra.ph/iPhone-18-The-Ultimate-Tech-Revolution-or-Just-Another-Overhyped-Gadget-04-03
https://telegra.ph/PGA-Leaderboard-Shakes-Up-as-Star-Golfer-Surges-to-Top-Spot-04-03
https://telegra.ph/Mimir-Kristjanssons-Shocking-Comeback-How-the-Underdog-Defied-All-Odds-in-the-Championship-04-03
https://telegra.ph/Kevin-Costners-Epic-Comeback-How-the-Legend-Conquered-Hollywood-Again-04-03

#811 By 4240821 (185.214.74.118) at 4/6/2026 4:08:41 PM
https://telegra.ph/Brandenburger-Tor-in-Berlin-A-Symbol-of-Unity-or-Division-02-22
https://telegra.ph/36ers-vs-Breakers-Shocking-Showdown-in-the-Ultimate-Battle-of-the-Season-02-22
https://telegra.ph/Jan-Choinskis-Shocking-Revelation-The-Truth-Behind-the-Scandal-That-Rocked-the-Nation-02-22
https://telegra.ph/Claressa-Shields-Drops-Shocking-Statement-I-Never-Intended-to-Fight-02-22
https://telegra.ph/Tomas-Tatars-Shocking-Revelation-The-Truth-Behind-the-Scandal-That-Rocked-the-World-02-22
https://telegra.ph/Marocs-Hidden-Gems-Unveiling-the-Secrets-of-the-Atlas-Mountains-02-22
https://telegra.ph/Manuel-Goossens-Shocks-World-with-Stunning-New-Artistic-Masterpiece-02-22
https://telegra.ph/Artemis-Lunas-Moon-Mission-Sparks-Global-Artistic-Frenzy-02-22
https://telegra.ph/Mistrovství-světa-v-hokeji-Šokující-výkony-a-překvapivé-vítězství-02-22
https://telegra.ph/Rondale-Moores-Epic-Comeback-How-the-Underdog-Dominated-the-NFL-in-2024-02-22

#812 By 4240821 (185.214.74.118) at 4/8/2026 4:24:50 PM
https://telegra.ph/Tommy-McMillens-Shocking-New-Artwork-Sparks-Global-Debate-Is-It-Genius-or-a-Masterpiece-04-05
https://telegra.ph/Martin-Hranacs-Shocking-Revelation-The-Hidden-Truth-Behind-the-Scandal-That-Could-Change-Everything-04-05
https://telegra.ph/Trumps-Bold-Move-Will-He-Shock-the-World-Again-04-05
https://telegra.ph/Trumps-Wild-Comeback-How-Hes-Outmaneuvering-Rivals-in-the-2024-Race-04-05
https://telegra.ph/Young-Offenders-Shocking-Rise-in-Prison-Sentences-for-Minor-CrimesExperts-Warn-of-a-Growing-Crisis-04-05
https://telegra.ph/Manolo-Zecchinis-Shocking-Confession-The-Truth-Behind-the-Mysterious-Disappearance-of-His-Famous-Painting-04-05
https://telegra.ph/Porto-FC-Stuns-Champions-League-Dramatic-Comeback-Secures-Last-Minute-Victory-04-05
https://telegra.ph/Chris-Duncans-Legendary-Career-Ends-in-Heartbreaking-FashionNBA-Mourns-the-Loss-of-a-True-Giant-04-05
https://telegra.ph/Germanys-New-Conscription-Rules-Spark-Controversy-What-You-Need-to-Know-04-05
https://telegra.ph/Abdulrakhman-Yakhyaevs-Shocking-Comeback-How-He-Defied-the-Odds-in-a-Thrilling-Upset-04-05

Write Comment
Return to News
  Displaying 801 through 812 of 812
Prev | First
  The time now is 6:57:16 AM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *