CVS update: samba/source/lib

Elrond elrond at samba.org
Tue Aug 15 04:30:14 EST 2000


On Tue, Aug 15, 2000 at 03:51:12AM +1000, Luke Kenneth Casson Leighton wrote:
[...]
> > Hehe... That was me, who moved that "back":
> 
> uhhh.... oops!
> 
> but remember, it's not thread-safe-like to do that.

Hmmm the "return pointer from table" is thread-safe... the
problematic case is, if there's no message and a local
static string is filled with some "Error 0x%x".

Well... on the other side: We should have most errors in
there and samba isn't anyway intended for threading...
okay... the libraries could once end up in a threaded app,
but we will have more critical problems by that time.


    Elrond




More information about the samba-cvs mailing list