public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Roland Caßebohm" <roland.cassebohm@visionsystems.de>
To: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Signal handling
Date: Thu, 04 Jul 2002 05:05:00 -0000	[thread overview]
Message-ID: <200207041205.g64C57d14137@hhlx01.visionsystems.de> (raw)
In-Reply-To: <200207040933.g649XUd13697@hhlx01.visionsystems.de>

On Thursday, 4. July 2002 11:33, Roland Caßebohm wrote:
> On Thursday, 4. July 2002 10:21, Roland Caßebohm wrote:
> > Hi,
> >
> > I send signals with pthread_kill() from the snmp agent, which is not a
> > pthread, to other threads, which are pthreads.
> > If I send a signal from the snmp agent to the main thread it receives it.
> > But if I send a signal to another thread, which is created from main it
> > doesn't take effect.
> > But if I send the same signal from another pthread not from the snmp
> > agent it works.
> >
> > Why does it not work from the snmp agent thread to another pthread than
> > main?
> >
> > Thanks you,
> > Roland
>
> I have changed the initialisation code of the snmp agent, so that it is a
> pthread and now it works.

I think I have been glad to early. The first pthread which is created by 
main() gets the signal. But another which is created by the snmp agent 
pthread does not recognize the signal.

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

  reply	other threads:[~2002-07-04 12:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-04  1:22 Roland Caßebohm
2002-07-04  2:33 ` Roland Caßebohm
2002-07-04  5:05   ` Roland Caßebohm [this message]
2002-07-08  7:08     ` Roland Caßebohm
     [not found] <000401c2233e$e2c65b30$0d22a8c0@wipro.com>
2002-07-04  2:51 ` Roland Caßebohm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200207041205.g64C57d14137@hhlx01.visionsystems.de \
    --to=roland.cassebohm@visionsystems.de \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).