We need mutexes in the event system

Stefan (metze) Metzmacher metze at samba.org
Wed Aug 8 19:14:30 GMT 2007


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

Andrew Bartlett schrieb:
> I'm trying to avoid running heimdal code from within heimdal code - as
> this leads to data corruption.  (It just doesn't expect to have data
> structures modified while talking to the KDC).
> 
> This is my first attempt at adding in a mutex system - flawed, because
> the second time we run across the mutex, we deadlock until we timeout.
> But we do need a way to handle this, preferably in a generic way.
> 
> I presume we will end up with a linked list of callbacks to be called
> after each time the mutex becomes available.  
> 
> Thoughts?

Hi Andrew,

I'll comment tomorrow...

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

iD8DBQFGuhYWm70gjA5TCD8RAv2AAJ9+90zQv72yW0iIpUXSIVGjd7NQnACeJgyj
v/AHLAYCSYesmIu0QHY4clA=
=Oj66
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list