Re: [fpc-devel] cwstring and threads

2006-04-17 Thread Marco van de Voort
Martin Schreiber wrote: On Sunday 16 April 2006 10.51, Florian Klaempfl wrote: Martin Schreiber wrote: Hi, Is cwstring threadsave? I suspect there is a problem. The only problem I could imagine is that the caching of of the iconv_t handles causes problem, since they could be

[fpc-devel] cwstring and threads

2006-04-16 Thread Martin Schreiber
Hi, Is cwstring threadsave? I suspect there is a problem. Martin ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] cwstring and threads

2006-04-16 Thread Florian Klaempfl
Martin Schreiber wrote: Hi, Is cwstring threadsave? I suspect there is a problem. The only problem I could imagine is that the caching of of the iconv_t handles causes problem, since they could be accessed multiple times without lock. ___

Re: [fpc-devel] cwstring and threads

2006-04-16 Thread Martin Schreiber
On Sunday 16 April 2006 10.51, Florian Klaempfl wrote: Martin Schreiber wrote: Hi, Is cwstring threadsave? I suspect there is a problem. The only problem I could imagine is that the caching of of the iconv_t handles causes problem, since they could be accessed multiple times without

Re: [fpc-devel] cwstring and threads

2006-04-16 Thread Martin Schreiber
On Sunday 16 April 2006 10.51, Florian Klaempfl wrote: Martin Schreiber wrote: Hi, Is cwstring threadsave? I suspect there is a problem. The only problem I could imagine is that the caching of of the iconv_t handles causes problem, since they could be accessed multiple times without

Re: [fpc-devel] cwstring and threads

2006-04-16 Thread Florian Klaempfl
Martin Schreiber wrote: On Sunday 16 April 2006 10.51, Florian Klaempfl wrote: Martin Schreiber wrote: Hi, Is cwstring threadsave? I suspect there is a problem. The only problem I could imagine is that the caching of of the iconv_t handles causes problem, since they could be accessed

Re: [fpc-devel] cwstring and threads

2006-04-16 Thread Martin Schreiber
On Sunday 16 April 2006 11.16, Martin Schreiber wrote: The problems are gone with locking. Attached optimized Version. Martin cwstringlock.gz Description: GNU Zip compressed data ___ fpc-devel maillist - fpc-devel@lists.freepascal.org