Deadlock with libsmbclient functions and Multiple
abartlet at samba.org
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 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030613/ddbf6e92/attachment.bin
More information about the samba-technical