Proposal: libsmbclient API

Gerald (Jerry) Carter jerry at samba.org
Tue Mar 31 18:47:20 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Volker Lendecke wrote:
> On Tue, Mar 31, 2009 at 01:05:05PM -0400, Derrell Lipman wrote:
>> 1. Assume a proper POSIX Threads implementation that guarantees
>> thread-specific errno. We then just need to ensure that the application (and
>> of course libsmbclient) doesn't call any of the prohibited, i.e.
>> known-non-thread-safe, functions.
> 
> Just a stupid question: Are there pthreads implementations
> around that do not guarantee a thread-specific errno? Asked
> in a different way: Does the pthreads spec not mandate this?
> You can hardly program efficiently without that.

I'm not an expert but none that I know of.  We rely on it pretty
heavily in likewise-open which builds on hp-ux, aix, solaris,
linux, freebsd, and os x.



cheers, jerry

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknSZTgACgkQIR7qMdg1EfbuhACgs4OrGe2MIy6vucIoT/0kV5se
ZtMAn0g9JVhdlWvJomouSsKZ3ZE7LbIh
=whZD
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list