[DGD] Paranoid about MP
Shentino
shentino at gmail.com
Tue Aug 15 04:13:00 CEST 2006
I did some reading about how MP was going to be implemented and ran
across a concern.
Do I need to be worried about reordering of threads?
More to the point:
Barring speed differences, is it guaranteed that execution rounds in
MP will execute in the same order as in UP? Or can threads commit in
a different order than they started in?
Examples:
callout 1 (0 second) is scheduled
callout 2 (0 second) is scheduled
but if callout 2 is faster, it might commit before callout 1.
Is this a concern or am I just being paranoid?
I'm doing some voodoo that depends on proper ordering.
More information about the DGD
mailing list