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 301 through 306 of 306
Prev | First
  The time now is 2:34:40 PM ET.
Any comment problems? E-mail us
#301 By 4240821 (212.193.138.162) at 11/26/2024 10:49:38 AM
https://justpaste.me/C8lF1
https://justpaste.me/CbMw1
https://justpaste.me/CDJJ4
https://justpaste.me/CD8C3
https://justpaste.me/CHiZ1
https://justpaste.me/CAAj5
https://justpaste.me/CHiZ1
https://justpaste.me/BtKH2
https://justpaste.me/Bc6t1
https://justpaste.me/CK4g1

#302 By 4240821 (77.83.4.69) at 11/26/2024 3:05:56 PM
https://www.google.pn/amp/s/sexonly.su/get/a299/a299uqoyfcbfzcpprxs.php
https://www.google.pl/amp/s/lustful.su/get/a55/a55psnboxijpmliyyo.php
https://www.google.ro/amp/s/nsfw.su/get/a102/a102rvmzqramhxzgopr.php
https://www.google.sc/amp/s/sexonly.top/get/a118/a118mjabjkwesyvpwew.php
https://www.google.pt/amp/s/sluts.su/get/a230/a230bfjwcoddkopmywz.php
https://www.google.sc/amp/s/sexonly.su/get/a215/a215abpryhutvdexuqo.php
https://www.google.rw/amp/s/sexonly.top/get/a255/a255jqdkljqinkuqiwe.php
https://www.google.se/amp/s/sluts.su/get/a251/a251yadjiqsornzrckj.php
https://www.google.ps/amp/s/sexonly.top/get/a205/a205nxrcpmhtmhcohmk.php
https://www.google.ru/amp/s/sexonly.top/get/a9/a9yzpsrtwoojrzofd.php

#303 By 4240821 (77.83.6.99) at 11/26/2024 11:01:20 PM
https://www.google.si/amp/s/sexonly.su/get/a132/a132icvuuzdrdhcwlpy.php
https://www.google.tk/amp/s/nsfw.su/get/a115/a115miejasjnjaqidli.php
https://www.google.si/amp/s/nsfw.su/get/a284/a284xwggbysigfxawpz.php
https://www.google.tg/amp/s/sluts.su/get/a229/a229vsfawqcrpyrxere.php
https://www.google.so/amp/s/nsfw.su/get/a30/a30lnauajtpfcikuwo.php
https://www.google.sm/amp/s/nsfw.su/get/a156/a156yhvaaqazfqcmjaj.php
https://www.google.si/amp/s/sexonly.top/get/a71/a71kxkmatrrohltwmd.php
https://www.google.so/amp/s/sexonly.top/get/a136/a136cxmvzzojueiaqvr.php
https://www.google.tk/amp/s/nsfw.su/get/a257/a257emagiwibbjawxxv.php
https://www.google.sk/amp/s/nsfw.su/get/a94/a94jyyvcikvvrkggtk.php

#304 By 4240821 (82.117.86.164) at 11/27/2024 9:18:37 AM
https://justpaste.me/BpbX
https://justpaste.me/CQMj2
https://justpaste.me/BfG8
https://justpaste.me/ByvE5
https://justpaste.me/BmSY1
https://justpaste.me/CTsz
https://justpaste.me/C74n1
https://justpaste.me/BcHY4
https://justpaste.me/CTsz
https://justpaste.me/CArD1

#305 By 4240821 (80.73.244.53) at 11/27/2024 2:33:19 PM
https://www.google.to/amp/s/sexonly.top/get/a115/a115oivfwrxgbeobrkz.php
https://www.google.tt/amp/s/sexonly.top/get/a128/a128grrmbeuzxcftacn.php
https://www.google.vg/amp/s/sluts.su/get/a17/a17qpjbpjqqvsdppyo.php
https://www.google.to/amp/s/sexonly.su/get/a69/a69gaobpesahpztwwg.php
https://www.google.us/amp/s/sexonly.top/get/a276/a276ijticonzmzttboe.php
https://www.google.us/amp/s/sexonly.top/get/a261/a261mjrewnfkvwrfhbt.php
https://www.google.vu/amp/s/sluts.su/get/a209/a209nijejuyyysnlvdc.php
https://www.google.vu/amp/s/sexonly.top/get/a266/a266bdpnfibuxzttfjf.php
https://www.google.vu/amp/s/sluts.su/get/a179/a179zbpaonbrssdwriy.php
https://www.google.vg/amp/s/sexonly.su/get/a6/a6eykqmgngidnggcm.php

#306 By 4240821 (77.83.4.69) at 11/28/2024 1:58:25 AM
https://telegra.ph/RikkyCheese-Romance-Onlyfans-Leaked-12-15
https://168.exodirectory.com/index.php?topic=63989.new
http://activewin.com/mac/comments.asp?ThreadIndex=79150
https://telegra.ph/Amanda-Love---Aurora--Illinois--USA-10-20
https://telegra.ph/AshleyTervort-Tight-Pussy-Patreon-Leak-11-18
http://activewin.com/mac/comments.asp?ThreadIndex=41999
https://168.exodirectory.com/index.php?topic=84453.new
https://telegra.ph/Sex-Tape-Onlyfans-HellyValentine-cams-Leak-01-26
https://forms.yandex.com/u/6355ad005d2a068fc3e230e2/
http://activewin.com/mac/comments.asp?ThreadIndex=70645

Write Comment
Return to News
  Displaying 301 through 306 of 306
Prev | First
  The time now is 2:34:40 PM ET.
Any comment problems? E-mail us
User name and password:

 

  *  
  *   *