public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@cygnus.co.uk>
To: Juancho Andrés Sáez <juancho@urano.sidsa.es>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] About POSIX signals
Date: Tue, 21 Nov 2000 20:12:00 -0000	[thread overview]
Message-ID: <3A1B47A9.76D9044B@cygnus.co.uk> (raw)
In-Reply-To: <027201c053d7$70581a30$be5635c3@sidsa.es>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

Juancho Andrés Sáez wrote:
> 
> I'm in trouble with POSIX signals.
> ¿Are POSIX signals delivered in the ASR POSIX routine?
> I mean, I try to send a signal from one thread to another,
> but 'cyg_posix_signal_asr' function is called from
> the signal origin thread after calling 'kill(other thread,SIGNAL)',
> but this call is not done from any ASR routine.
> ¿How are POSIX signals delivered from one thread to another ?

You mean pthread_kill() surely? If you use kill() then that sends a signal
to the whole process (and in eCos there is only one process), not just one
thread. Therefore any thread can receive it (unless explicitly masked).

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

      reply	other threads:[~2000-11-21 20:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-21  8:25 Juancho Andrés Sáez
2000-11-21 20:12 ` Jonathan Larmour [this message]

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=3A1B47A9.76D9044B@cygnus.co.uk \
    --to=jlarmour@cygnus.co.uk \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=juancho@urano.sidsa.es \
    /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).