This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: sending traps from a thread other than the snmpd thread..
> In examining the source I found that both the trap and
> the snmp-get/set operations end up using the send (socket)
> function call. This function is thread safe, isnt it?
> Looking at the code, there is a LOCK_SOCKET macro call
> that seems to lock the file descriptor for the socket.
Socket calls are thread safe.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss