This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]