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 501 through 525 of 616
Prev | First | Last | Next
  The time now is 5:12:47 PM ET.
Any comment problems? E-mail us
#501 By 4240821 (172.120.164.135) at 4/27/2025 7:42:02 AM
https://telegra.ph/Oprahs-Lonely-Crisis-Amid-Wellness-Drama-04-25
https://telegra.ph/Travis-Hunters-Origin-and-Football-Career-04-25
https://telegra.ph/Trump-Attends-Pope-Benedict-XVIs-Funeral-04-26
https://telegra.ph/Federal-Pension-Cuts-Shake-Employee-Confidence-04-26
https://telegra.ph/Aniket-Verma-Honored-for-Community-Service-04-25
https://telegra.ph/Tory-Hortons-NFL-Draft-Prospect-Update-04-26
https://telegra.ph/NFL-Draft-Channel-Launches-Year-Round-Coverage-04-24
https://telegra.ph/Struggling-Mechanic-Wins-Powerball-Jackpot-04-27
https://telegra.ph/Mets-vs-Nationals-Game-Update-and-Analysis-04-26
https://telegra.ph/FBI-Arrests-Wisconsin-Judge-Dugan-on-Corruption-04-25

#502 By 4240821 (172.120.234.16) at 4/27/2025 11:14:40 PM
https://telegra.ph/Fire-Country-Season-3-Finale-Recap-04-26
https://telegra.ph/Phillies-Edge-Cubs-in-Extra-Innings-Thriller-04-25
https://telegra.ph/High-Wind-Warning-Risks-and-Precautions-04-26
https://telegra.ph/The-Disappearance-of-Barrett-Carter-04-26
https://telegra.ph/Kyle-Monangai-From-Underdog-to-Football-Legend-04-27
https://telegra.ph/Paolo-Bancheros-Private-Life-Drama-04-28
https://telegra.ph/Chicago-Bears-Trade-Rumors-and-Analysis-04-26
https://telegra.ph/Ariya-Jutanugarns-Sudden-Golf-Collapse-Mystery-04-27
https://telegra.ph/Fred-VanVleets-Disappearance-A-Basketball-Mystery-04-27
https://telegra.ph/Ty-Robinsons-Last-Chance-at-Glory-04-26

#503 By 4240821 (172.120.12.53) at 4/29/2025 4:06:07 PM
https://telegra.ph/NASCAR-Rookie-Jake-Mitchell-Wins-Talladega-04-28
https://telegra.ph/Clarifying-Information-About-Cassius-Kidston-04-28
https://telegra.ph/Lockheed-Martins-Secret-UFO-Interception-04-29
https://telegra.ph/Flavio-Cobollis-Tennis-Scandal-and-Meltdown-04-27
https://telegra.ph/Venezia-Upsets-Milan-in-Serie-A-Thriller-04-27
https://telegra.ph/Austin-Cindric-Fast-Facts-and-Racing-Career-04-27
https://telegra.ph/Jets-vs-Blues-Sports-Rivalry-Overview-04-27
https://telegra.ph/Nebraska-Volleyball-Sets-New-Winning-Streak-Record-04-27
https://telegra.ph/ISU-Shooting-Shocking-Details-Emerge-Nationwide-04-28
https://telegra.ph/Jalen-Green-Disappearance-in-the-Desert-04-27

#504 By 4240821 (45.159.125.123) at 4/30/2025 4:23:33 PM
https://telegra.ph/Inquiry-on-Cedric-Cowards-Public-Information-04-28
https://telegra.ph/US-Citizen-Deported-Despite-Proven-Citizenship-04-27
https://telegra.ph/London-Marathon-2025-Kipchoge-and-McColgan-Dominate-04-27
https://telegra.ph/The-Rise-and-Fall-of-Scott-Bessent-04-29
https://telegra.ph/Malcolm-Wellmaker-Pledges-10M-for-Greenfield-04-27
https://telegra.ph/Salma-Hayeks-Fascinating-and-Funny-Facts-04-27
https://telegra.ph/Craig-Woodsons-Contributions-to-World-Music-04-26
https://telegra.ph/Quinten-Post-From-Office-Job-to-Coffee-Empire-04-27
https://telegra.ph/Blood-on-the-Pitch-Flamengo-vs-Corinthians-04-27
https://telegra.ph/Prabhsimran-Singhs-Maiden-IPL-Century-04-26

#505 By 4240821 (172.120.211.50) at 5/2/2025 10:33:52 PM
https://telegra.ph/Russell-Westbrook-Basketball-Heist-or-Frame-Job-04-30
https://telegra.ph/Alexander-Smirnov-FBI-Informant-and-Controversy-05-01
https://telegra.ph/AI-Driven-Market-Collapse-The-Phantom-Sell-Off-04-28
https://telegra.ph/Dick-Barnett-Honored-with-Lifetime-NBA-Award-04-28
https://telegra.ph/Twins-Scheme-to-Frame-Guardians-04-28
https://telegra.ph/Mike-Peters-and-the-Diamond-Collar-Chase-04-29
https://telegra.ph/Magical-Day-for-All-Children-Even-Shadows-04-30
https://telegra.ph/Bridget-Fonda-Surprises-at-Charity-Event-05-01
https://telegra.ph/Doug-Christie-Honored-by-Sacramento-Kings-04-29
https://telegra.ph/Cardinal-Robert-Prevost-Leads-Church-Reform-05-02

#506 By 4240821 (45.159.125.123) at 5/3/2025 10:36:43 AM
https://telegra.ph/Ryan-Watts-Injured-Future-Uncertain-04-28
https://telegra.ph/Kim-Kardashian-Jewelry-Heist-in-Paris-04-28
https://telegra.ph/LA-Kings-Score-Updates-and-Recent-Performance-04-28
https://telegra.ph/Diana-Shnaider-Tennis-Career-Overview-04-29
https://telegra.ph/The-Rise-and-Fall-of-Scott-Bessent-04-29
https://telegra.ph/Arc-Raiders-Release-Date-Confirmed-for-2025-05-01
https://telegra.ph/Damian-Lillard-Hero-or-Conspiracy-04-28
https://telegra.ph/Panthers-vs-Lightning-All-Out-War-05-01
https://telegra.ph/Marathón-vs-Olimpia-Football-Match-Update-04-28
https://telegra.ph/Ted-Lindsay-Award-Honors-Hockeys-Best-04-30

#507 By 4240821 (172.120.164.135) at 5/4/2025 1:45:55 AM
https://telegra.ph/Edwin-Kneedler-Reflects-on-Supreme-Court-Legacy-05-02
https://telegra.ph/Larry-Birkhead-Documentary-on-Anna-Nicole-Smith-05-03
https://telegra.ph/Cuba-Caribbeans-Most-Populous-Nation-04-29
https://telegra.ph/Earthquake-Rocks-Utah-Experts-Warn-of-Catastrophe-05-01
https://telegra.ph/Understanding-Tornado-Watch-and-Preparedness-Tips-04-28
https://telegra.ph/Yoendrys-Gómez-The-Fall-of-a-Baseball-Prospect-04-30
https://telegra.ph/Mariano-Rivera-From-Fishermans-Son-to-Baseball-Legend-05-01
https://telegra.ph/Adam-Devines-Comedy-Trophy-Heist-Adventure-05-02
https://telegra.ph/Everton-vs-Ipswich-Town-Match-Preview-05-03
https://telegra.ph/Dillon-Brooks-NBA-Villain-or-Warrior-05-03

#508 By 4240821 (172.120.164.135) at 5/5/2025 5:00:00 PM
https://telegra.ph/Phantom-Save-Xbox-Cloud-Gaming-Mystery-05-04
https://telegra.ph/Shyannes-Game-Winning-NCAA-Shot-05-03
https://telegra.ph/Black-Widow-The-Tale-of-a-Deadly-Wife-05-03
https://telegra.ph/Nottingham-Forests-Momentum-Mystery-Solved-05-01
https://telegra.ph/Torino-Triumphs-Over-Venezia-in-Thrilling-Match-05-02
https://telegra.ph/Warriors-Game-7-Suspicious-NBA-Finale-05-03
https://telegra.ph/Underdog-Leganés-Stuns-Sevilla-in-Copa-05-04
https://telegra.ph/Twins-vs-Red-Sox-Matchup-Analysis-05-03
https://telegra.ph/Charles-Leclerc-Secures-Monaco-Pole-Position-05-03
https://telegra.ph/Trump-and-Pope-Pose-for-Historic-Photo-05-03

#509 By 4240821 (176.53.133.118) at 5/7/2025 6:24:34 PM
https://telegra.ph/Barcelona-Dominates-Deportivo-in-La-Liga-05-04
https://telegra.ph/REAL-ID-Deadline-Extended-to-2025-05-05
https://telegra.ph/Meet-the-Press-Chaos-After-On-Air-Meltdown-05-04
https://telegra.ph/Real-ID-Deadline-Chaos-and-Tragedy-Unfolded-05-05
https://telegra.ph/Amy-Schumers-Unexpected-Comedy-Surprise-05-04
https://telegra.ph/Triston-Casas-Rookie-Mystery-and-Suspense-05-03
https://telegra.ph/Unexpected-Layover-at-Newark-Airport-05-03
https://telegra.ph/Dillon-Brooks-NBA-Villain-or-Warrior-05-03
https://telegra.ph/Jets-Edge-Blues-in-Overtime-Thriller-05-05
https://telegra.ph/Las-Palmas-Valencia-Share-La-Liga-Draw-05-03

#510 By 4240821 (45.152.138.219) at 5/10/2025 11:43:03 AM
https://telegra.ph/Eta-Aquarids-Meteor-Shower-2024-Details-05-05
https://telegra.ph/Evan-Mobleys-Journey-to-Basketball-Glory-05-07
https://telegra.ph/Pascal-Siakams-Trade-and-Future-with-Pacers-05-05
https://telegra.ph/Supreme-Court-Decision-on-Free-Speech-05-06
https://telegra.ph/REAL-ID-California-Deadline-Chaos-Explodes-05-05
https://telegra.ph/Franco-Colapinto-F1-Rising-Star-or-Flash-in-the-Pan-05-07
https://telegra.ph/Michelle-Williams-Vanishing-Act-Mystery-05-06
https://telegra.ph/REAL-ID-Deadline-Extended-to-2025-05-05-5
https://telegra.ph/Rebel-Wilsons-Mall-Duck-Heist-Adventure-05-08
https://telegra.ph/Anthony-Rizzo-Baseball-Heros-Dark-Secrets-05-07

#511 By 4240821 (46.232.35.74) at 5/24/2025 10:05:48 AM
https://telegra.ph/Judge-Dismisses-Trespassing-Charges-Analysis-05-16
https://telegra.ph/Claude-Opus-4-and-Sonnet-4-Unite-05-23
https://telegra.ph/Claude-Opus-4-and-Sonnet-4-Unite-05-23
https://telegra.ph/Bernie-Sanders-Unveils-Economic-Reform-Plan-05-16
https://telegra.ph/Election-2025-Debate-Highlights-Key-Issues-05-19
https://telegra.ph/Las-Vegas-Shooting-Shocks-Strip-05-17
https://telegra.ph/Jenna-Ortegas-Horror-Film-Gains-Buzz-05-15
https://telegra.ph/NYT-Strands-Puzzle-Secrets-Revealed-05-17
https://telegra.ph/Catch-Me-If-You-Can-Movie-Overview-05-17
https://telegra.ph/Tiffany-Trumps-Recent-Personal-and-Professional-Updates-05-15

#512 By 4240821 (178.217.45.3) at 5/31/2025 3:18:12 PM
https://nsfw.su/v/1p1n5ruy7x8w.php
https://nsfw.su/v/uylb5bjhxu37.php
https://nsfw.su/v/f8c5bffarw4y.php
https://nsfw.su/v/vd1dfw68vy9f.php
https://nsfw.su/v/1xpvnmnhf03c.php
https://nsfw.su/v/erpfm55fef7n.php
https://nsfw.su/v/xw45xy4dbcro.php
https://nsfw.su/v/tw6x5xztu5uc.php
https://nsfw.su/v/erheju58yejn.php
https://nsfw.su/v/a9c3et4uqi46.php

#513 By 4240821 (178.217.45.3) at 6/1/2025 9:03:04 AM
https://nsfw.su/v/si4u679306xi.php
https://nsfw.su/v/sjqtzblg0hcg.php
https://nsfw.su/v/lwt5ix0mlu82.php
https://nsfw.su/v/vtkciw7tm3nt.php
https://nsfw.su/v/v4kgcu5sbnb3.php
https://nsfw.su/v/znpikziefqab.php
https://nsfw.su/v/e9asy15v9ayk.php
https://nsfw.su/v/st3xgv7yskwa.php
https://nsfw.su/v/6m0go5kw7x4l.php
https://nsfw.su/v/cvsb4xsbczbt.php

#514 By 4240821 (178.217.45.3) at 6/1/2025 6:57:58 PM
https://nsfw.su/v/prz11ujtzrso.php
https://nsfw.su/v/w1r8e8wnstrf.php
https://nsfw.su/v/zw9qjeq5mxij.php
https://nsfw.su/v/80lleouzgs70.php
https://nsfw.su/v/5k28nzr3rac1.php
https://nsfw.su/v/57sdgbgojb1d.php
https://nsfw.su/v/k38w6dj3j3ib.php
https://nsfw.su/v/13iqhiwxcl7c.php
https://nsfw.su/v/7ghgc54bfkf6.php
https://nsfw.su/v/p9y8xddw7s0m.php

#515 By 4240821 (178.217.45.3) at 6/2/2025 9:42:40 AM
https://nsfw.su/v/9jbp7r0fdcrd.php
https://nsfw.su/v/eu22ie3v7tjs.php
https://nsfw.su/v/w1aa1ppmun9k.php
https://nsfw.su/v/jbp2masu4agl.php
https://nsfw.su/v/3lhvpkzqvly3.php
https://nsfw.su/v/ywsod9z8kodh.php
https://nsfw.su/v/9ghl79u1zwjz.php
https://nsfw.su/v/ztnf6ns8oz5q.php
https://nsfw.su/v/zq6k2hi6vk6c.php
https://nsfw.su/v/s63gypi9gidc.php

#516 By 4240821 (178.217.45.3) at 6/2/2025 4:08:26 PM
https://nsfw.su/v/cazat72fo2tk.php
https://nsfw.su/v/tpz9efxwcg46.php
https://nsfw.su/v/5vzwivf3bpwy.php
https://nsfw.su/v/a28fyakmpj8g.php
https://nsfw.su/v/612hnzg23dre.php
https://nsfw.su/v/pa815t6nd3xn.php
https://nsfw.su/v/cfor20eq08w9.php
https://nsfw.su/v/ejwz7iy4jdtu.php
https://nsfw.su/v/enfhguuvrsgn.php
https://nsfw.su/v/ifgnzpshr2gn.php

#517 By 4240821 (178.217.45.3) at 6/3/2025 10:42:13 AM
https://nsfw.su/v/3xd3lvcl9u2x.php
https://nsfw.su/v/t07pssa9gfbr.php
https://nsfw.su/v/e9kao4aiy1tg.php
https://nsfw.su/v/d4afohhtnhpx.php
https://nsfw.su/v/g74uc2hb7hxw.php
https://nsfw.su/v/bv7rrdv3rd1p.php
https://nsfw.su/v/5vzwivf3bpwy.php
https://nsfw.su/v/tzhe7uepv5dr.php
https://nsfw.su/v/dwcjutdxnf6b.php
https://nsfw.su/v/mgar6gpdhdkz.php

#518 By 4240821 (178.217.45.3) at 6/3/2025 7:24:15 PM
https://nsfw.su/v/nmd66d9osg5l.php
https://nsfw.su/v/8ptd6wjez698.php
https://nsfw.su/v/08d4t4p3uxte.php
https://nsfw.su/v/o17kgbyvhjf2.php
https://nsfw.su/v/ntjkkctct0o4.php
https://nsfw.su/v/8yjewy6kzbia.php
https://nsfw.su/v/6wv4q52cwyfz.php
https://nsfw.su/v/r3hsk1wthwm8.php
https://nsfw.su/v/bv7rrdv3rd1p.php
https://nsfw.su/v/2hq7vi0rwrpk.php

#519 By 4240821 (178.217.45.3) at 6/3/2025 11:31:23 PM
https://nsfw.su/v/td1mj03odq0w.php
https://nsfw.su/v/xb685s0x8hkm.php
https://nsfw.su/v/3i6f8j5twu6t.php
https://nsfw.su/v/h1qvrs8ie2da.php
https://nsfw.su/v/vr7bdj6d2kdo.php
https://nsfw.su/v/w1r8e8wnstrf.php
https://nsfw.su/v/tbxts5cvw9c1.php
https://nsfw.su/v/sfkkrvd6lh9i.php
https://nsfw.su/v/uw4lntjskq8a.php
https://nsfw.su/v/d03bjylklkwc.php

#520 By 4240821 (178.217.45.3) at 6/4/2025 7:11:56 PM
https://nsfw.su/v/bafugrbobme3.php
https://nsfw.su/v/b1db0rv4dzoe.php
https://nsfw.su/v/34wfssgml1a9.php
https://nsfw.su/v/zro22ccbza0i.php
https://nsfw.su/v/zjx0necdwird.php
https://nsfw.su/v/robx0p0i2398.php
https://nsfw.su/v/l074jewns949.php
https://nsfw.su/v/q5wic0g8qjgy.php
https://nsfw.su/v/wqa3quz95l5u.php
https://nsfw.su/v/igutpkz67495.php

#521 By 4240821 (178.217.45.3) at 6/5/2025 7:28:03 AM
https://nsfw.su/v/6ya2ciga2upw.php
https://nsfw.su/v/9lo9qjkq6qnh.php
https://nsfw.su/v/1yk4n1do7549.php
https://nsfw.su/v/kcp8qy81d5q0.php
https://nsfw.su/v/fsy88u420vzs.php
https://nsfw.su/v/mfvfmaqa3hjh.php
https://nsfw.su/v/j5vtqnibi9om.php
https://nsfw.su/v/h7riyddpnlz3.php
https://nsfw.su/v/qrbb5omajxbg.php
https://nsfw.su/v/yrm8vrwta6l4.php

#522 By 4240821 (178.217.45.3) at 6/5/2025 6:07:19 PM
https://nsfw.su/v/ct66z3k6ux39.php
https://nsfw.su/v/h4vupo43kfbw.php
https://nsfw.su/v/3kyis99kai2p.php
https://nsfw.su/v/fg25t0oytall.php
https://nsfw.su/v/rqy9ibgmq1lf.php
https://nsfw.su/v/qpclf1hqjqpg.php
https://nsfw.su/v/44shqcsuamwx.php
https://nsfw.su/v/nfu45pmirtfv.php
https://nsfw.su/v/ay4p6fe24ou6.php
https://nsfw.su/v/lnrc3ar4xhxf.php

#523 By 4240821 (178.217.45.3) at 6/6/2025 9:15:39 AM
https://nsfw.su/v/75j0p1vak2kz.php
https://nsfw.su/v/gmctjny0sav7.php
https://nsfw.su/v/xok7i2ogz2xu.php
https://nsfw.su/v/3vjaf8x0ei0o.php
https://nsfw.su/v/ut5kcwou2kiw.php
https://nsfw.su/v/0bb058uie8ef.php
https://nsfw.su/v/rcq5k3umhg3p.php
https://nsfw.su/v/ej2rvpl5t8yc.php
https://nsfw.su/v/k5nsmdugly0c.php
https://nsfw.su/v/r3ew59ltkrsm.php

#524 By 4240821 (178.217.45.3) at 6/7/2025 1:06:51 AM
https://nsfw.su/v/a44wni0mf8fo.php
https://nsfw.su/v/6u8h2dte7sno.php
https://nsfw.su/v/xoqtv6d4we6s.php
https://nsfw.su/v/kcp8qy81d5q0.php
https://nsfw.su/v/lw840e1i2i12.php
https://nsfw.su/v/d2okv4s21gk8.php
https://nsfw.su/v/nle3fb8poe9v.php
https://nsfw.su/v/50m52868ivg9.php
https://nsfw.su/v/mevhas7nnsve.php
https://nsfw.su/v/ccjj2lx0fqrk.php

#525 By 4240821 (178.217.45.3) at 6/7/2025 2:25:33 PM
https://nsfw.su/v/fkimk1zugb6f.php
https://nsfw.su/v/8zll7ybcwjdv.php
https://nsfw.su/v/4m2flf6b103l.php
https://nsfw.su/v/fnn9b1wwobhk.php
https://nsfw.su/v/l0s39zyx3rby.php
https://nsfw.su/v/e8i5nd0vl88d.php
https://nsfw.su/v/5w2hhj3gg2kj.php
https://nsfw.su/v/1ndym0ffveoy.php
https://nsfw.su/v/bv7rrdv3rd1p.php
https://nsfw.su/v/d05o2chk1dfk.php

Write Comment
Return to News
  Displaying 501 through 525 of 616
Prev | First | Last | Next
  The time now is 5:12:48 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *