Just a quick question here.. 
All the "strings aren't thread safe" conversation I've seen has been in reference to a thread changing a global string variable. It is safe to use strings in threads if you create and use them *only* in that thread - right?
			
			
									
									Back to the thread safe string conversation...
Back to the thread safe string conversation...
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
						Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
- 
				Doobrey
- Enthusiast 
- Posts: 218
- Joined: Sat Apr 26, 2003 4:47 am
- Location: Dullsville..population: me
- Contact:
Re: Back to the thread safe string conversation...
AFAIK, PB only has one string buffer for performing string calculations. So it`s possible that a thread could access and modify it before the main app or other thread has finished using it. 
What PB really needs is a string buffer for each thread.
			
			
													What PB really needs is a string buffer for each thread.
					Last edited by Doobrey on Mon Sep 15, 2003 12:32 am, edited 2 times in total.
									
			
									
						Ahh hell. That's not good at all... Daaaaaamn.
			
			
									
									-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
						Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Gotcha 
*Yells for Tinman*
Thanks!
			
			
									
									
*Yells for Tinman*
Thanks!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
						Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net


