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..


On Wed, May 19, 2004 at 02:35:48PM -0700, agyhoo wrote:
> Is it possible to send a trap from a thread other
> than the snmpd thread safely? In other words are
> the send_easy_trap, send_trap_vars etc. API thread
> safe?
> 
> If anyone has done this, I would appreciate any info.
> Thanks.

I've done this and it worked OK. I don't remember actually checking if
it was thread safe though. You do need a big stack though otherwise
you overflow it.

        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]