Article View: borland.public.cppbuilder.nativeapi
Article #5998Re: Info sought on thread local storage (TLS)
From: Helmut Giese
Date: Thu, 16 Jun 2005 10:47
Date: Thu, 16 Jun 2005 10:47
19 lines
1623 bytes
1623 bytes
Hi Ed, >Warning: early warnings are always appreciated - might save a lot of time later on. > >Thread Local Storage, TLS, provides a very small amount of memory. Every >compiler supplies an alternate function to that provided by Win32 for >starting a thread. The compiler-supplied function(s) set up a data block >and place the address of that block and possibly some flags into the TLS >memory. > >If you alter TLS memory you may crash the program and possibly crash the >machine. If you Win32 function to start the thread in a C/C++ program then >you also risk causing a crash. Huh? Doesn't sound exactly promising. Hm, I think I will do some reading and prolong the design phase, maybe things can be simplified. Thanks for the alert and best regards Helmut Giese
Technical Details
Message-ID:
<42b157a3.899064@forums.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42b0a9ef.20026212@forums.borland.com> <42b0b9b5@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fe9ab360edfd8d88 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: hgiese@ratiosoft.com (Helmut Giese) Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Info sought on thread local storage (TLS) Date: Thu, 16 Jun 2005 10:47:39 GMT Message-ID: <42b157a3.899064@forums.borland.com> References: <42b0a9ef.20026212@forums.borland.com> <42b0b9b5@newsgroups.borland.com> X-Newsreader: Forte Free Agent 1.11/32.235 NNTP-Posting-Host: 84.138.1.35 X-Trace: newsgroups.borland.com 1118918792 84.138.1.35 (16 Jun 2005 03:46:32 -0700) Lines: 19 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail