Deadlock with libsmbclient functions and Multiple forked processes

Andrew Bartlett abartlet at
Fri Jun 13 14:13:38 GMT 2003

On Sat, 2003-06-14 at 00:08, Akshay V Rao wrote:
> Well, I tried doing this using threads in the first place but found out
> that libsmbclient was not thread safe.  I then moved to forked processes,
> therefore, it is in a different address space.  I am not sure that if I
> open and close (and read) connections in each forked process, shouldn't
> they be different because they exist in different address spaces - where as
> threads exist in the same address space.

Sure, but each needs to make it's own connection to the server...

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url :

More information about the samba-technical mailing list