>         Just for information here are the times for a little prog I
wrote
> it is
> interesting that there is an optomisation in Thread.Start() when
starting
> mutliple threads to the same delgate. The first one takes 40 ms and
later
> ones are very quick  (occasionaly the second one takes 10ms) .
> ThreadPools
> are quicker when doing different types of work but you dont seem to
get
> this
> optomisation.
>
> Anyone knows why this occurs is my code wrong ?
>

Don't forget that any code you hit for the first time has to be JITted.

You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced 
DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to