Theoretical question. If you have 100 separate requests coming to an aspx web page that calls the static method below.
public static GeocodeResult GeocodeQuery(string query)
{
int train, tube, dlr = 0;
// manipulate these ints
if (train)
{
// do something important
}
}
每一项请求是否都有单独的呼吁。
If so - Does this static method call get pushed on these separate call stacks?
If so - Therefore are these ints thread safe? ie. 100 requests, 100 call frames, 300 ints.
卡车