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 776 through 788 of 788
Prev | First
  The time now is 4:12:39 AM ET.
Any comment problems? E-mail us
#776 By 4240821 (188.253.25.226) at 1/23/2026 7:05:45 AM
https://telegra.ph/Trail-Blazers-Hawks-Dominate-Soaring-to-Unprecedented-Victory-01-16
https://telegra.ph/Julio-Iglesiass-Fiery-Latin-Rhythms-Ignite-Summer-Nights-01-16
https://telegra.ph/Ellen-Jens-Latest-Bombshell-The-Scandal-No-One-Saw-Coming-01-16
https://telegra.ph/Machados-Power-Surge-Is-He-Baseballs-New-MVP-Contender-01-16-4
https://telegra.ph/DP-World-Tour-Stars-Clash-in-Thrilling-Dubai-Showdown-01-16
https://telegra.ph/Machado-Nobelprijs-The-Literary-World-Holds-its-Breath-01-16-2
https://telegra.ph/Amsterdams-Canals-Flow-with-Secrets-A-New-Dive-into-the-Citys-Hidden-Histories-01-16
https://telegra.ph/Temblor-Hoy-México-Magnitude-shakes-nation-residents-recount-harrowing-experience-01-16-2
https://telegra.ph/Italian-Influencer-Scandal-Explodes-Social-Media-Stars-Secret-Life-Unraveled-01-16
https://telegra.ph/Billy-Longs-Policies-A-Bold-New-Direction-or-a-Step-Back-01-16

#777 By 4240821 (188.253.25.226) at 1/25/2026 12:44:18 AM
https://telegra.ph/Haringsee-Banküberfall-Brazen-Heist-Shakes-Quiet-Town-01-22
https://telegra.ph/St-Vincents-Summer-Blockbuster-Heatwave-Hurricanes-and-Happily-Ever-Afters-01-22
https://telegra.ph/Arknights-Endfield-Ignites-Speculation-Whats-Next-for-the-Beloved-Franchise-01-22-6
https://telegra.ph/Airwallex-Powers-Global-Growth-Seamless-Transactions-Limitless-Possibilities-01-22-2
https://telegra.ph/Mortgage-Rates-Skyrocket-Homebuyers-Face-Sticker-Shock-01-22
https://telegra.ph/Ligue-des-Champions-Shocking-Upset-in-the-Classement-01-22
https://telegra.ph/Dortmund-Stuns-Europe-UEFA-Champions-League-Dream-Alive-01-22-3
https://telegra.ph/Credit-Agricole-Unveils-Bold-New-Strategy-to-Dominate-European-Fintech-Landscape-01-22
https://telegra.ph/Airwallex-Powers-Global-Growth-Seamless-Transactions-Limitless-Possibilities-01-22
https://telegra.ph/Claire-Foys-Unexpected-Return-Stuns-Fans-Whats-Next-for-the-Acclaimed-Actress-01-22

#778 By 4240821 (188.253.25.226) at 1/25/2026 9:01:05 PM
https://telegra.ph/Jude-Law-Stuns-Fans-with-Bold-Red-Carpet-Transformation-12-24
https://telegra.ph/Trump-Slams-New-Indictment-as-Witch-Hunt-in-Fiery-Rally-Speech-12-24
https://telegra.ph/Jean-Renos-Legendary-Performance-Sparks-Worldwide-Applause-12-24
https://telegra.ph/Patrick-Bruels-Shocking-Retirement-Announcement-Shocks-Entertainment-World-12-24
https://telegra.ph/Les-12-Coups-de-Midi-The-Ultimate-Showdown-of-Brainpower-and-Fame-12-24
https://telegra.ph/Spar-Carryduff-Closure-Sparks-Outcry-Among-Loyal-Shoppers-12-24
https://telegra.ph/Cameron-Diaz-Shocks-Fans-with-Stunning-Transformation-in-New-Movie-Role-12-24
https://telegra.ph/Carla-Pereyra-Shocks-World-With-Explosive-New-Revelation-12-24
https://telegra.ph/LEGO-MINAS-TIRITH-The-Ultimate-Middle-earth-Fortress-is-Here-12-24
https://telegra.ph/Steam-Down-Revolutionizing-Climate-Control-with-Nature-Inspired-Cooling-Techniques-12-24

#779 By 4240821 (188.253.25.226) at 1/26/2026 12:21:57 AM
https://telegra.ph/Michael-Carricks-Masterclass-The-Secret-to-Midfield-Genius-Unveiled-01-13
https://telegra.ph/Minimum-Wage-2026-The-Reset-That-Will-Transform-the-Future-of-Work-01-13-2
https://telegra.ph/Steelers-Clash-with-Texans-in-Nail-Biting-Showdown-01-13-2
https://telegra.ph/Cyane-Panine-Unveiling-Natures-Majesty-in-the-Heart-of-the-Rainforest-01-13-2
https://telegra.ph/Gael-Monfils-Shatters-Records-with-Unbelievable-Comeback-Victory-01-13
https://telegra.ph/Sara-Omar-Breaks-Silence-Unveiling-New-Horizons-in-Human-Rights-Advocacy-01-13
https://telegra.ph/Afas-Unveils-Revolutionary-Technology-Changing-Lives-Forever-01-13
https://telegra.ph/Trump-2026-The-Rise-of-a-Controversial-Candidate-Reshaping-American-Politics-01-13
https://telegra.ph/Irish-Rail-revolutionizes-travel-with-eco-friendly-high-speed-trains-01-13
https://telegra.ph/Mirra-Andreeva-Shatters-Expectations-Rising-Tennis-Star-Sets-New-Record-01-13

#780 By 4240821 (188.253.25.226) at 1/27/2026 1:44:56 AM
https://telegra.ph/Mi-Mandat-Trump-A-New-Era-Dawns-12-15
https://telegra.ph/Rob-Reiners-Latest-Rant-Hollywoods-Liberal-Elite-Under-Fire-12-15-13
https://telegra.ph/Hynek-Kmoníček-The-Diplomatic-Dynamo-Ignites-Global-Discourse-12-15
https://telegra.ph/Rob-Reiners-Latest-Rant-Hollywoods-Liberal-Elite-Under-Fire-12-15-12
https://telegra.ph/Rachael-Carpani-Dazzles-in-Latest-Red-Carpet-Appearance-12-15-4
https://telegra.ph/Safis-Secret-Unlocking-the-Hidden-Power-of-Ancient-Wisdom-12-15-2
https://telegra.ph/Tejedas-Timeless-Triumph-A-Legacy-Forged-in-Fire-12-15
https://telegra.ph/Álvaro-García-Ortiz-The-Man-Behind-the-Masterpiece-Unveiled-12-15
https://telegra.ph/Rachael-Carpani-Dazzles-in-Latest-Red-Carpet-Appearance-12-15-3
https://telegra.ph/Samsungs-New-Android-Update-Is-Your-Phone-Getting-a-Brain-Transplant-12-15

#781 By 4240821 (188.253.25.226) at 1/27/2026 1:20:14 PM
https://telegra.ph/Bruce-Willis-The-Action-Hero-Who-Refused-to-Fade-Away-12-23-2
https://telegra.ph/Welfare-Reform-A-Bold-New-Path-to-Prosperity-or-a-Risky-Gamble-12-23-2
https://telegra.ph/Cyklopernas-Uppesittarkväll-A-Spectacle-of-Cosmic-Proportions-12-23-2
https://telegra.ph/Matthew-McConaugheys-Latest-Philosophical-Musings-Could-Change-How-You-See-Everything-Alright-Alright-Alright-12-23
https://telegra.ph/Welfare-Reform-A-Bold-New-Path-to-Prosperity-or-a-Risky-Gamble-12-23
https://telegra.ph/Adam-the-Woo-Unleashing-a-Storm-of-Awesomeness-12-23
https://telegra.ph/Hamilton-Island-Paradise-Found-or-Purgatory-Paid-12-23
https://telegra.ph/Vince-Zampella-Drops-Major-Hint-About-Future-of-Apex-Legends-and-Titanfall-12-23-3
https://telegra.ph/Cyklopernas-Uppesittarkväll-A-Spectacle-of-Cosmic-Proportions-12-23
https://telegra.ph/Seiler-und-Speer-Austrian-Folk-Rock-Goes-Global---A-Headline-Ignites-the-Music-Scene-12-23

#782 By 4240821 (188.253.25.226) at 1/28/2026 2:44:54 PM
https://telegra.ph/Avatars-Fiery-Revenge-From-Fire-to-Ash-the-World-Will-Burn-12-20
https://telegra.ph/Reddits-Latest-Conspiracy-Theory-Did-the-Moon-Landing-Really-Happen-on-a-Soundstage-in-Nevada-12-20
https://telegra.ph/Wordle-Player-Cracks-Impossible-Puzzle-Reveals-Shocking-Strategy-12-20
https://telegra.ph/Pekin-Express-A-Culinary-Journey-on-Rails-You-Wont-Forget-12-20
https://telegra.ph/Jake-Paul-Drops-Bombshell-Training-Footage-Ahead-of-Next-Fight-12-20
https://telegra.ph/Unum-and-Pluribus-A-Nation-Divided-Yet-United-in-Its-Pluribus-12-20
https://telegra.ph/Sebastian-Yatra-Heats-Up-the-Charts-with-Surprise-Collaboration-12-20
https://telegra.ph/Ollie-Pope-Englands-Batting-Enigma---Will-This-Summer-Be-His-Redemption-Song-12-20
https://telegra.ph/Stuff-NZ-Volcano-Erupts-Spewing-Ash-Across-North-Island-12-20
https://telegra.ph/Netflix-Drops-Bombshell-Surprise-Price-Hike-and-Content-Shake-Up-on-the-Horizon-12-20

#783 By 4240821 (188.253.25.226) at 1/30/2026 10:41:32 PM
https://telegra.ph/Porto-Estrela-Amadora-The-Hidden-Star-of-Lisbons-Hidden-Gems-Revealed-in-a-Glow-Up-of-Unmatched-Beauty-12-15
https://telegra.ph/Olivier-Girouds-Last-Stand-How-the-Arsenal-Legend-Outplayed-the-World-in-a-Final-Showdown-Against-Time-12-15
https://telegra.ph/Cessna-Pilots-Dramatic-Last-Flight-Mysterious-Crash-Leaves-Only-a-Single-Mysterious-Message-in-the-Sky-12-15
https://telegra.ph/Sheffield-Wednesday-vs-Derby-County-Epic-Clash-Unfolds-as-Rivalry-Heats-Up-in-High-Stakes-Showdown-12-15
https://telegra.ph/Queen-Margrethes-Royal-Surprise-Drones-Flock-to-Denmarks-Hidden-Viking-SecretsAs-Ancient-Shipwrecks-Reveal-1000-Year-Old-Treasur-12-15
https://telegra.ph/Sheffield-Wednesday-vs-Derby-County-Epic-Clash-Sparks-Rivalry-Fire-as-Fans-Demand-BloodWill-the-Old-Firm-Feud-Reign-Supreme-12-15
https://telegra.ph/Cameron-Menzies-Shock-U-Turn-Why-His-No-Deal-Brexit-Plan-Could-Be-the-Brexiters-Biggest-Nightmare-12-15
https://telegra.ph/Vallecanos-Betis-Betrayal-How-the-Andalusian-Surprise-Left-Madrids-Champions-in-Shocking-Defeat-12-15
https://telegra.ph/Porto-Estrela-Amadora-The-Hidden-Star-of-Lisbons-Hidden-Gems-Revealed-12-15
https://telegra.ph/Rangers-vs-Hibernian-Epic-Showdown-Sparks-Rivalry-Fire-as-Fans-Demand-a-Clash-of-Legends-12-15

#784 By 4240821 (82.115.4.230) at 2/7/2026 7:28:19 AM
https://telegra.ph/Brandon-Bussi-The-Name-Youll-Be-Hearing-Everywhere-12-15
https://telegra.ph/Guerre-Russie-Ukraine-Le-Monde-Retient-Son-Souffle-Face-à-lEscalade-des-Tensions-12-15-2
https://telegra.ph/ADN-Your-DNA-Your-Destiny-Your-Future-Unlocked-12-15
https://telegra.ph/Tiempo-en-Málaga-Ola-de-Calor-Despiadada-o-Frescura-Inesperada-12-15
https://telegra.ph/Daphne-Agten-The-Secret-Life-of-a-Silicon-Valley-Sorceress-12-15
https://telegra.ph/Amon-Ra-St-Browns-Stellar-Catch-Ignites-Lions-Roar-12-15
https://telegra.ph/Roger-Staubachs-Hail-Mary-Moments-How-Captain-America-Led-the-Cowboys-to-Glory-12-15-2
https://telegra.ph/Guerre-Russie-Ukraine-Le-Monde-Retient-Son-Souffle-Face-à-lEscalade-des-Tensions-12-15
https://telegra.ph/Roger-Staubachs-Hail-Mary-Moments-How-Captain-America-Led-the-Cowboys-to-Glory-12-15
https://telegra.ph/Simone-Moro-Alpinista-Extraordinaire-Conquers-the-Unconquerable-12-15

#785 By 4240821 (82.115.4.230) at 2/7/2026 2:17:20 PM
https://telegra.ph/Breaking-Bundesliga-Tabelle-Shocks-Fans-as-Unexpected-Top-Contenders-Climb-to-the-Top-01-14-5
https://telegra.ph/Rick-Stein-Unveils-His-Secret-to-Perfectly-Crispy-Fish-Every-Time-01-14
https://telegra.ph/Timothy-Busfield-Shines-Bright-Hollywood-Veteran-Celebrates-a-Career-of-Unforgettable-Roles-01-14
https://telegra.ph/Julia-Roberts-Steals-the-Spotlight-in-Unexpected-Career-Comeback-01-14
https://telegra.ph/Late-Xous-Last-Minute-Rescue-of-the-Season-01-14
https://telegra.ph/Intel-Stock-Surges-as-New-Chip-Technology-Sparks-Investor-Optimism-01-14
https://telegra.ph/Julio-Iglesias-Sets-New-Record-with-Historic-World-Tour-Milestone-01-14
https://telegra.ph/Trade-Republic-revolutionizes-investing-with-zero-commission-trades-and-user-friendly-platform-01-14
https://telegra.ph/Tell-Me-Lies-The-Hidden-Truths-Behind-Every-Beautiful-Deception-01-14
https://telegra.ph/Abdoulie-Manneh-Wins-Historic-Election-in-Stunning-Upset-01-14

#786 By 4240821 (82.115.4.230) at 2/7/2026 5:10:48 PM
https://telegra.ph/luke-littler-shocks-the-crowd-with-a-jaw-dropping-comeback-that-has-everyone-buzzing-12-30-6
https://telegra.ph/aaron-briggs-unleashes-game-changing-breakthrough-rocks-the-industry-worldwide-12-30
https://telegra.ph/Helene-Fischer-Dazzles-Fans-with-Record-Breaking-Comeback-Tour-12-30
https://telegra.ph/Nyttårsaften-Chaos-Fireworks-Mishap-Leaves-Thousands-in-Darkness-12-30
https://telegra.ph/india-women-vs-sri-lanka-women-explosive-showdown-as-rivals-clash-for-cricket-glory-12-30
https://telegra.ph/2026-The-Year-AI-Goes-Global-and-Everything-Changes-12-30
https://telegra.ph/Richard-Geres-Bold-Move-Actor-Sells-His-100-Million-Mansion-for-a-Tiny-Cabin-12-30
https://telegra.ph/Brignoles-on-Fire-Tiny-Town-Ignites-a-Viral-Night-12-30
https://telegra.ph/george-clooney-Unveils-Surprise-Directorial-Comeback-That-Has-Hollywood-Buzzing-12-30-3
https://telegra.ph/Stranger-Things-Unveils-New-Twist-That-Has-Fans-Reeling-12-30

#787 By 4240821 (82.115.4.230) at 2/8/2026 1:02:12 PM
https://telegra.ph/KC-46-Refueling-Future-Skies-But-Not-Without-Turbulence-12-15
https://telegra.ph/Rob-Reiners-Latest-Rant-Hollywoods-Liberal-Elite-Under-Fire-12-15-10
https://telegra.ph/Sanofi-Bourse-A-Parisian-Stock-Market-Surge-for-the-Pharmaceutical-Giant-12-15
https://telegra.ph/Amanda-Bynes-Comeback-From-Pop-Icon-to-Pop-Culture-Phenomenon-12-15
https://telegra.ph/Joran-van-der-Sloot-A-Life-in-Shadows-A-Crime-Unsolved-12-15
https://telegra.ph/Meningsmåling-Shocks-Denmarks-Favorite-Pastry-Revealed-12-15
https://telegra.ph/Alex-Davies-Jones-The-Maverick-MP-Shaking-Up-Westminster-12-15
https://telegra.ph/Muckatahs-Majestic-Monologue-A-Nations-Murmur-and-a-Muckatahs-Mandate-12-15-2
https://telegra.ph/Julskinka-Sensation-Swedish-Christmas-Ham-Takes-Over-Tastebuds-Worldwide-12-15
https://telegra.ph/Philip-Rivers-Still-Slingin-It-Even-If-Its-Just-to-the-Backyard-BBQ-12-15-5

#788 By 4240821 (82.115.4.230) at 2/12/2026 1:39:42 AM
https://telegra.ph/Queens-Gambit-Royal-Uprising-Threatens-Throne-12-14
https://telegra.ph/Keir-Starmers-Bold-Gambit-Labour-Leader-Charts-Course-for-a-New-Britain-12-14
https://telegra.ph/Väder-för-Julafton-Snö-eller-Solsken--Vad-Vädret-Bär-12-14-2
https://telegra.ph/Viola-Leuchters-Fiery-Performance-Ignites-the-Stage-12-14
https://telegra.ph/Diego-Vidales-Last-Minute-Goal-Sinks-Argentina-in-Heartbreaking-World-Cup-Upset-12-14
https://telegra.ph/Ursula-Corberó-Lights-Up-the-Screen-Is-She-Hollywoods-Next-Big-Thing-12-14
https://telegra.ph/Laura-Wontorras-Latest-Move-Is-This-the-End-of-an-Era-12-14
https://telegra.ph/Alavés-Stuns-Real-Madrid-A-New-Era-Dawns-12-14-2
https://telegra.ph/Herman-Flesvigs-Latest-Fiasco-A-Nation-Holds-Its-Breath-12-14
https://telegra.ph/Väder-för-Julafton-Snö-eller-Solsken--Vad-Vädret-Bär-12-14

Write Comment
Return to News
  Displaying 776 through 788 of 788
Prev | First
  The time now is 4:12:39 AM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *