On Fri, 22 Aug 2003, J. Merrill wrote: > See the section titled "Passing Data to Threads" in the "Creating > Threads" document in the .NET Framework docn; you can get to it by > finding "creating" under "threads" on the left side of the help > window.
The problem is not to pass *any* data to a thread. InheritableThreadLocal passes data *automatically* from a parent to child thread. > (Is there a standard way to point at such things?) You can point at the web: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconcreatingthreads.asp > I would guess that you could also build a class that descends from > Thread and that has a custom constructor to which you could pass > other data as well as the ThreadStart delegate; but the technique > described above will work. Thread is sealed so you can't inherit from it. Thanks for your answers, Burkhard -- Burkhard Perkens-Golomb mailto: [EMAIL PROTECTED] sd&m AG http://www.sdm.de software design & management AG Thomas-Dehler-Str. 27, 81737 Muenchen, Germany Tel +49 89 63812-398, Fax -410 Tel Home +49 89 66 00 09 61 =================================== This list is hosted by DevelopMentor� http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13 Oct 2003, in Boston http://www.develop.com/courses/gaspdotnet View archives and manage your subscription(s) at http://discuss.develop.com
