Friday, August 03, 2007

Threads and Cultures

When you create a new thread  you would expect it to inherit the culture information from the original thread since this is the sensible behaviour because you want that thread to access the correct resources and use culture specific formatting etc... But I discoverd in dotnet this is not the case. This also applies to the BackgroundWorker component. So every time you create a thread you have to copy the culture info from the original thread. Strange ......

No comments: