« Return to Thread: [vwnc] DefaultEncoder in Filename not threadsafe

Re: [vwnc] DefaultEncoder in Filename not threadsafe

by Ralf Propach :: Rate this Message:

Reply to Author | View in Thread

Terry Raymond wrote:

> The DefaultEncoder shared variable in Filename is an
> EncodedStream. Being that it is mutable and not protected
> it is not threadsafe.
>
> As a general rule, mutable singletons are not threadsafe
> and should be either be eliminated(preferable) or protected.
>
> Terry
>  
> ===========================================================
> Terry Raymond
> Crafted Smalltalk
> 80 Lazywood Ln.
> Tiverton, RI  02878
> (401) 624-4517      traymond@...
> <http://www.craftedsmalltalk.com>
> ===========================================================
>
> _______________________________________________
> vwnc mailing list
> vwnc@...
> http://lists.cs.uiuc.edu/mailman/listinfo/vwnc
>
>
AR# 40500
Description Filename's use of DefaultEncoder is not thread safe

--
Ralf Propach, ralf@...
Tel: +49 231 975 99 38   Fax: +49 231 975 99 20
Georg Heeg eK (Dortmund)
Handelsregister: Amtsgericht Dortmund  A 12812
_______________________________________________
vwnc mailing list
vwnc@...
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc

 « Return to Thread: [vwnc] DefaultEncoder in Filename not threadsafe

LightInTheBox - Buy quality products at wholesale price!