> 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 multiple times
> >> without lock.
> > 
> > The problems are gone with locking.
> 
> Locking or creating this handles locally might have a heavy impact on
> performance. Anbody a good idea?

Since cwstring afaik is alreay pluggable, have a threadsafe manager and a
non-threadsafe mgr ?

cwstring and cwstring_r ? (:-)
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to