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 676 through 685 of 685
Prev | First
  The time now is 10:06:55 PM ET.
Any comment problems? E-mail us
#676 By 4240821 (82.115.4.230) at 11/11/2025 8:12:25 AM
https://sluts.su/activgc1ddbbf2f
https://sexonly.top/activf44dg3bf23
https://sexonly.top/activgfadddd2de
https://sexonly.top/activhcf5ehebhf
https://nsfw.su/activhf11aaf4af
https://smutty.su/activh54hhbcfaa
https://smutty.su/activ3ebf4cg555
https://nsfw.su/activfa3ecb2ecd
https://lustful.su/activ3f232he3ed
https://lustful.su/activf5ag1cdd24

#677 By 4240821 (45.192.45.37) at 11/11/2025 12:19:27 PM
https://www.pillowfort.social/posts/6551596
https://www.pillowfort.social/posts/6551452
https://www.pillowfort.social/posts/6551256
https://www.pillowfort.social/posts/6551137
https://www.pillowfort.social/posts/6550954
https://www.pillowfort.social/posts/6550772
https://www.pillowfort.social/posts/6550647
https://www.pillowfort.social/posts/6550536
https://www.pillowfort.social/posts/6550409
https://www.pillowfort.social/posts/6550311

#678 By 4240821 (82.115.4.230) at 11/12/2025 11:59:39 PM
https://sexonly.top/activ4c4eddf23e
https://sexonly.top/activedbbd5ef24
https://smutty.su/activ1egfbabfa1
https://sexonly.su/activhgdbebdh43
https://smutty.su/activd2fff21gag
https://nsfw.su/activ1h1heg2gdc
https://lustful.su/activca1c33553b
https://nsfw.su/activ13g4155a5f
https://sexonly.top/activfheh553234
https://nsfw.su/activf2e11cadhh

#679 By 4240821 (82.115.4.230) at 11/13/2025 3:29:56 PM
https://lustful.su/activ3b252ff51h
https://lustful.su/activc1e1hfbhhe
https://nsfw.su/activ1bdbf2ab13
https://smutty.su/activb3ffe2h3b3
https://lustful.su/activb3d3dbab5b
https://sluts.su/activ3d3cf141h5
https://sluts.su/activeed4fec4e3
https://sexonly.su/activ3df2d43f3d
https://sexonly.top/activ25bha4ada1
https://sexonly.top/activ45dcg3hff4

#680 By 4240821 (45.192.45.37) at 11/14/2025 11:57:53 PM
https://telegra.ph/Carolina-Crescentinis-Bold-Move-A-Game-Changer-in-the-World-of-Fashion-11-14
https://telegra.ph/Michael-Polanskys-Bold-Move-Revolutionizing-the-Tech-Industry-11-14
https://telegra.ph/Massive-Earthquake-Strikes-Groningen-Netherlands-11-14
https://telegra.ph/Jamaicas-Secret-Beach-Unveiled-A-Tropical-Paradise-Waiting-to-Be-Discovered-11-14
https://telegra.ph/Irish-Republics-Surprise-Fixtures-Who-Will-They-Face-Next-11-14
https://telegra.ph/Elimination-X-Factor-2025s-Game-Changing-Reality-Show-11-14
https://telegra.ph/Ireland-vs-Portugal-Euro-2024-Showdown-Heats-Up-as-Both-Teams-Aim-for-Victory-11-14
https://telegra.ph/Andoras-Secret-Weapon-A-Game-Changer-in-the-Tech-Industry-11-14
https://telegra.ph/Portugals-Surprising-Rise-in-Tech-Innovation-11-14-3
https://telegra.ph/Kennard-Davis-Bold-Move-Revolutionizing-the-Tech-Industry-11-14

#681 By 4240821 (45.192.45.37) at 11/15/2025 12:05:48 AM
https://telegra.ph/Digvesh-Rathi-Rising-Entrepreneur-in-Business-05-27
https://telegra.ph/Yaxel-Lendeborg-From-Dominican-Courts-to-NBA-05-27
https://telegra.ph/Lili-Reinharts-Disappearance-A-Mystery-Unveiled-05-27
https://telegra.ph/Fried-Fact-About-Joanna-Garland-Inquiry-05-27
https://telegra.ph/Local-Hero-Duplessie-Saves-Stranded-Hikers-05-27
https://telegra.ph/Amas-Music-Awards-Celebrates-African-Music-Excellence-05-27
https://telegra.ph/Lili-Reinharts-Secret-Baking-Triumph-05-27
https://telegra.ph/Jitesh-Sharmas-Inspiring-Cricket-Journey-05-27
https://telegra.ph/Exploring-Circle-Internet-Group-and-Similar-Entities-05-27
https://telegra.ph/Circle-Expands-with-500M-Asian-Investment-05-27

#682 By 4240821 (82.115.4.230) at 11/15/2025 12:43:48 AM
https://sexonly.top/activ4ad143hfde
https://sexonly.top/activfdbdfgaag2
https://sluts.su/activbffh5a15hb
https://nsfw.su/activ432g3gb3fh
https://smutty.su/activ4edgh5311b
https://nsfw.su/activ3fd25fh214
https://lustful.su/activb14cf1h1g5
https://sluts.su/activec1443c55a
https://nsfw.su/activcaegefg5ge
https://nsfw.su/activ4fcggdfba5

#683 By 4240821 (45.192.45.37) at 11/15/2025 3:15:18 PM
https://telegra.ph/kroatien--färöer-spark-a-nail-biting-showdown-as-underdogs-pull-off-jaw-dropping-drama-11-14
https://telegra.ph/finn-dahmen-sparks-a-global-frenzy-with-jaw-dropping-reveal-in-sci-fi-epic-11-14
https://telegra.ph/poland-vs-netherlands-erupts-in-a-nerve-wracking-finale-as-late-strike-seals-stunning-comeback-11-14
https://telegra.ph/Svátek-17-listopadu-přivádí-otevřené-obchody-do-centra-dění-láká-návštěvníky-na-slavnostní-nabídky-11-14
https://telegra.ph/This-Weekends-Blockbuster-Will-draw-Crowds-Like-Never-Before-11-14
https://telegra.ph/Zverev-Smashes-Set-Record-to-Clinch-Thriller-Victory-11-14
https://telegra.ph/jared-davidson-stuns-the-internet-with-a-jaw-dropping-comeback-11-14
https://telegra.ph/Luxemburg-Set-to-Strengthen-Ties-with-Deutschland-in-Historic-Economic-Partnership-11-14
https://telegra.ph/Angola---Argentina-Sparks-World-Cup-Thriller-as-Underdogs-Deliver-Dazzling-Upset-11-14-2
https://telegra.ph/Where-Winds-Meet-The-Unseen-Battle-for-Control-11-14

#684 By 4240821 (45.192.45.37) at 11/15/2025 5:03:26 PM
https://telegra.ph/15-november-Breakthrough-tech-shatters-expectations-worldwide-11-15
https://telegra.ph/simone-biles-stuns-the-world-with-a-record-smashing-comeback-that-redefines-gymnastics-11-15
https://telegra.ph/georgien--spanien-electrify-the-world-with-a-blockbuster-showdown-that-could-rewrite-the-season-11-15
https://telegra.ph/jackie-chan-Makes-a-Jaw-Dropping-Comeback-in-a-New-Blockbuster-Trailer-11-15-6
https://telegra.ph/Géorgie-and-Espagne-Set-the-Stage-for-Historic-Cultural-Exchange-in-International-Showdown-11-15
https://telegra.ph/lincoln-city-roars-back-as-record-crowds-flood-the-streets-in-an-electrifying-comeback-11-15
https://telegra.ph/Brazil-vs-Senegal-Clash-of-Contenders-Sparks-Global-Excitement-11-15-2
https://telegra.ph/Zyperns-Surprise-Victory-Over-Ă–sterreich-in-Thrilling-Euro-Cup-Showdown-11-15
https://telegra.ph/jackie-chan-Makes-a-Jaw-Dropping-Comeback-in-a-New-Blockbuster-Trailer-11-15-5
https://telegra.ph/Mystery-Unveiled-Shocking-Lotto-Result-Sparks-Wild-Celebrations-Nationwide-11-15-3

#685 By 4240821 (82.115.4.230) at 11/15/2025 5:13:57 PM
https://sexonly.top/activfcbb13b41h
https://sluts.su/activb34hg2345b
https://lustful.su/activebd3cfhdaa
https://nsfw.su/activh4g5d4dhc4
https://sexonly.top/activfdd34a3c2f
https://lustful.su/activ3ghghe4d5d
https://sexonly.su/activd43hacd5dh
https://lustful.su/activfc2b1a4g5c
https://nsfw.su/activheg1daeae5
https://sluts.su/activ5515hhg122

Write Comment
Return to News
  Displaying 676 through 685 of 685
Prev | First
  The time now is 10:06:55 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *