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 601 through 615 of 615
Prev | First
  The time now is 9:04:16 AM ET.
Any comment problems? E-mail us
#601 By 4240821 (82.115.4.230) at 8/15/2025 10:34:24 PM
https://www.xfree.com/acfreeserit72
https://www.xfree.com/prefmesumul958
https://www.xfree.com/schemitcomme499
https://www.xfree.com/guinarlemen202
https://www.xfree.com/llemtegourlo11
https://www.xfree.com/besttoszeaca526
https://www.xfree.com/chanparsgevem917
https://www.xfree.com/verjohnnusna176
https://www.xfree.com/hotlayprophard326
https://www.xfree.com/greencampnone177

#602 By 4240821 (82.115.4.230) at 8/16/2025 6:02:05 PM
https://www.xfree.com/dischethalsigh353
https://www.xfree.com/ymtrogafec814
https://www.xfree.com/cinabringpua135
https://www.xfree.com/postrosdyouser797
https://www.xfree.com/amsupvexy171
https://www.xfree.com/brasacsearchi975
https://www.xfree.com/isphosheito447
https://www.xfree.com/britniberli683
https://www.xfree.com/brahgawecte518
https://www.xfree.com/nasdemema143

#603 By 4240821 (82.115.4.230) at 8/17/2025 9:27:02 PM
https://www.xfree.com/dismuckjoca817
https://www.xfree.com/laralougpers437
https://www.xfree.com/backlemortla911
https://www.xfree.com/wayweakenkfrag67
https://www.xfree.com/sembtinggingla518
https://www.xfree.com/slouchtanggema8
https://www.xfree.com/vingnomage858
https://www.xfree.com/chrisosekri408
https://www.xfree.com/rompstanabun958
https://www.xfree.com/ounusmanwest318

#604 By 4240821 (82.115.4.230) at 8/18/2025 8:01:31 AM
https://www.xfree.com/ropbadesi773
https://www.xfree.com/suiwenliba599
https://www.xfree.com/enadcapdisc187
https://www.xfree.com/gharomalta627
https://www.xfree.com/bilscomreedoub765
https://www.xfree.com/kaktasavi736
https://www.xfree.com/ghagoregaw378
https://www.xfree.com/ebisenli200
https://www.xfree.com/handtradicut449
https://www.xfree.com/soutcidonca425

#605 By 4240821 (82.115.4.230) at 8/18/2025 11:55:53 AM
https://www.xfree.com/niebitvorsmu115
https://www.xfree.com/eroppeepo429
https://www.xfree.com/handsysjeni137
https://www.xfree.com/afumssiger462
https://www.xfree.com/petiferi977
https://www.xfree.com/miuficaswei115
https://www.xfree.com/hindnewima677
https://www.xfree.com/contphosipu75
https://www.xfree.com/alasesstic626
https://www.xfree.com/ninggelpoter472

#606 By 4240821 (186.179.59.207) at 8/21/2025 9:13:25 AM
https://odysee.com/whole_house_remodel_painting_project_in_ann_arbor-31i9fw60z3kf15286:251d376407412e596e7250b0a417edd666244906
https://odysee.com/considering_buying_this_03_330i_does_this_sound-keyx8iboo2kf13422:1c36c3a99f1848d287d191486bb3474a1f67b1a7
https://odysee.com/sometimes_i_underestimate_my_game_iq-v2z7uo47z2kf11746:653e73a0dfdd796cfd118e8f8651e09cf14757ea
https://odysee.com/are_you_fucking_shitting_me-hf22jiymr2kf14891:bf6a1b7d03473702a7d359eb3df1bd17ceda8eda
https://odysee.com/test_video_post_20250820_051228-5az4vozwy3kf13287:6e3d6b5386f6bb7b5f19f3c88e55f6b28dcdd2e3
https://odysee.com/man_i_am_was_trying_to_listen_to_shucks_in_one-41oyzhf120kf14740:cc2304b9e68ad96050014ce7d6f7885f614ba1e6
https://odysee.com/some_progress_on_my_fullsize_printed_r5_astromech-r6w6vnxx30kf19289:17fd03c9b63de316049930eca0d311a668c95cb3
https://odysee.com/_-hahyped2w3kf17100:53af58cad81f7b3a6ee190607bb367dc9163a617
https://odysee.com/small_long_lines_tower-alvy2wazn2kf12423:42d32977d1f62e6492ac20116f280be5b357f643
https://odysee.com/is_the_champ_a_five_bagger-rtjln4hcg0kf17186:c1df03b77705bbb81bac74b282c9319307069d0a

#607 By 4240821 (64.43.108.66) at 8/21/2025 8:07:47 PM
https://odysee.com/new_snippet-f28t6o5ty2kf12966:6d67199a40d9c926a3fc0ddc6c0395dbc7e531f0
https://odysee.com/caroline_kelley_for_intimissimi-x566zfqnx2kf17085:a81b09cd7582ab4fb4bf0df4b7e7529432e2bc01
https://odysee.com/ow_my_ankles-qf8uuf89z2kf18266:c605922b759c511769f8b52e9ea204b42a74da37
https://odysee.com/see_his_dance_and_tell_him_its_cute-576l2ycxjxjf19536:2d1762185c2ecf758f3e9922960e8472bc042dba
https://odysee.com/zoe-v0opt3fej0kf16764:642dfd823e690d13e509249376ba10772e9c1e82
https://odysee.com/eth_at_4750_it_will_hit_6969_soon_few_days_later-6iu7o6gn70kf14511:68df35eb2d17157dafb77fc7529ab40f635bed94
https://odysee.com/shaykh_adham_alāsimī_حفظه_الله-f92bh66g24kf14766:03f6da38e7806fc3709931806effb0d983df0abc
https://odysee.com/i_made_my_own_vail_slander-ba6mv0vbv3kf15826:8cd47d4ba77674749246935fb6881154b41b04b2
https://odysee.com/meirl-ac5ca5da34kf13182:07caaf6245d4db5fa7cb03b5a9d8ce7a862468a7
https://odysee.com/dog_meeting_his_new_foster_brother-aejl11hw04kf14564:1563c88437039dd2ad0588e4bd6ab570932beadc

#608 By 4240821 (143.137.164.76) at 8/23/2025 12:55:09 AM
https://sluts.su/g/p17/p17imdzzdcuplaaced.php
https://sluts.su/g/p11/p11vikypydidftfvvh.php
https://nsfw.su/g/p31/p31godrumiytyhqenp.php
https://sexonly.su/g/p63/p63qkfksoripznvxix.php
https://nsfw.su/g/p70/p70gbyuwhhfnnvouue.php
https://lustful.su/g/p9/p9ggjmeurqxcitdhz.php
https://lustful.su/g/p80/p80usvyotklsvkuwbc.php
https://sluts.su/g/p89/p89cjnbjhbzvoaagyg.php
https://sluts.su/g/p28/p28ppxgsarnktlrzyh.php
https://nsfw.su/g/p2/p2bkamziesykxtjul.php

#609 By 4240821 (170.247.221.87) at 8/23/2025 4:26:21 PM
https://sexonly.top/g/p59/p59wrlnjzjflyikuho.php
https://sexonly.top/g/p57/p57apozyjabzubdoud.php
https://nsfw.su/g/p32/p32npwyrqzqzmokzck.php
https://sluts.su/g/p38/p38bhnkoxavtbwualf.php
https://sluts.su/g/p54/p54zvobqyabzampxjq.php
https://sexonly.su/g/p88/p88vufpqulzwxuqmjr.php
https://sexonly.top/g/p83/p83hhojpmnsclregzu.php
https://sexonly.top/g/p82/p82xkdhldzevaxrimc.php
https://nsfw.su/g/p20/p20qqpawxiyijwedrk.php
https://nsfw.su/g/p16/p16eelfkonbumstddp.php

#610 By 4240821 (170.247.221.32) at 8/24/2025 1:49:21 AM
https://nsfw.su/g/p31/p31fanhjrrbhzkjtin.php
https://sexonly.su/g/p52/p52xyjztfpporlloie.php
https://sluts.su/g/p55/p55kzfgkkkulnbkgxi.php
https://lustful.su/g/p95/p95krjpbvqirwzjnyn.php
https://sluts.su/g/p69/p69uxzjiupavzpvyqb.php
https://nsfw.su/g/p8/p8dbyrjgmderrbrtp.php
https://sexonly.top/g/p46/p46frwjthqxylpquwp.php
https://nsfw.su/g/p90/p90hdiztfglcwputxl.php
https://sluts.su/g/p13/p13nyzkstamzdtcgtq.php
https://sluts.su/g/p6/p6uqxmjezznmzhesm.php

#611 By 4240821 (170.247.220.83) at 8/25/2025 4:04:32 PM
https://sexonly.top/g/p85/p85bugjbigiozxsitk.php
https://sexonly.top/g/p13/p13svbiglnlfgognnm.php
https://lustful.su/g/p52/p52kghegoxsdwkjzwo.php
https://nsfw.su/g/p65/p65dwgbnhvzhmglquq.php
https://lustful.su/g/p85/p85zjwdvfwhcxgsypk.php
https://nsfw.su/g/p40/p40ogewqycvxaknooa.php
https://nsfw.su/g/p4/p4tjpyhkkixrqysnz.php
https://nsfw.su/g/p8/p8bdoxeimfxpfuqfe.php
https://sexonly.top/g/p86/p86lnbhmahdtgskwlt.php
https://sexonly.su/g/p40/p40yeveukkgnpqwwon.php

#612 By 4240821 (132.255.135.30) at 8/25/2025 10:41:25 PM
https://sexonly.su/g/p52/p52qqsojizhrpecsgz.php
https://lustful.su/g/p57/p57cytmehahmqwxwec.php
https://nsfw.su/g/p61/p61ofhqkdvpgnfcjky.php
https://sexonly.top/g/p93/p93ioxoiranmyqcrca.php
https://lustful.su/g/p26/p26navwvtjhzwnmwvh.php
https://sluts.su/g/p92/p92twumkaydqfvphhh.php
https://sluts.su/g/p18/p18dmvnndvzoxetbes.php
https://sluts.su/g/p29/p29xrdcolwnldqkecw.php
https://sexonly.su/g/p76/p76xqudbtngcsvieai.php
https://nsfw.su/g/p65/p65kyyomhdjroinmll.php

#613 By 4240821 (186.179.39.236) at 8/27/2025 12:50:23 AM
https://nsfw.su/g/p11/p11kwuqqpiifkrxnhy.php
https://sluts.su/g/p72/p72xoylachzjakonsi.php
https://sluts.su/g/p23/p23rdozjspfbyomorj.php
https://sexonly.su/g/p29/p29jgnbxguxoiavfyf.php
https://lustful.su/g/p58/p58sersfsliuakiltm.php
https://sluts.su/g/p58/p58bqpczetqqnfoiur.php
https://sexonly.su/g/p19/p19svsllajgzecxdki.php
https://lustful.su/g/p20/p20bojmoxnzompwrir.php
https://sluts.su/g/p51/p51cuuiyipseohqryi.php
https://sluts.su/g/p50/p50xuxlzuixhfuslch.php

#614 By 4240821 (64.29.88.183) at 8/27/2025 9:29:29 PM
https://lustful.su/g/p68/p68nesbkdbnyywysay.php
https://sluts.su/g/p76/p76xjhywgdprhliria.php
https://sluts.su/g/p75/p75lpifspeazxsksck.php
https://lustful.su/g/p15/p15uongkpwggdztqjd.php
https://lustful.su/g/p15/p15qyvxbdvciiwgdfv.php
https://sexonly.top/g/p71/p71ajqiyimggyojlzu.php
https://lustful.su/g/p59/p59jnglyfgbepuznee.php
https://sexonly.top/g/p82/p82kczrlepvfwtqwet.php
https://sluts.su/g/p35/p35mffrctwxowuutwl.php
https://nsfw.su/g/p52/p52yfvwozejjypttis.php

#615 By 4240821 (64.43.109.61) at 8/28/2025 2:58:32 PM
https://nsfw.su/g/p73/p73zmxngnteitughak.php
https://sexonly.top/g/p84/p84qhubdsdkyhhvsjt.php
https://sexonly.top/g/p2/p2drxyjjquarfoiop.php
https://sexonly.top/g/p89/p89hybzhryjcorylmh.php
https://sexonly.su/g/p67/p67ohbghwxazjegeoz.php
https://sluts.su/g/p70/p70usqbevhgboyehor.php
https://nsfw.su/g/p35/p35hpojxxxoqrpbcjd.php
https://lustful.su/g/p2/p2rdgynbgizfksxkr.php
https://nsfw.su/g/p67/p67yjzryzqlvxjkovd.php
https://sexonly.su/g/p64/p64pirlryjlnywjeav.php

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

 

  *  
  *   *