svn commit: samba r20938 - in
branches/SAMBA_4_0/source/lib/events: .
tridge at samba.org
tridge at samba.org
Sun Jan 21 23:35:55 GMT 2007
Volker,
> Don't we need sig_atomic_t's here? If I get this right, then
> these are variables written by the signal handler and read
> by the main program and vice versa.
Strictly yes, but see:
http://www.gnu.org/software/libc/manual/html_node/Atomic-Types.html
basically 'int' (and uint32_t) is atomic on any platform that Samba
has any chance of running on. If you want to change it to
sig_atomic_t and add a configure test then it won't do any harm, but I
don't think it makes any difference either.
Cheers, Tridge
More information about the samba-technical
mailing list