From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] TCP communication problem
Date: Mon, 04 Jun 2012 12:05:07 +0200 [thread overview]
Message-ID: <4FCC8853.9070008@xenomai.org> (raw)
In-Reply-To: <4FCC87DA.5010201@xenomai.org>
On 06/04/2012 12:03 PM, Gilles Chanteperdrix wrote:
> On 06/04/2012 11:53 AM, Philippe Gerum wrote:
>> On 06/04/2012 11:33 AM, Frederik Bayart wrote:
>>> Dietmar, thanks for hint. Indeed, I noticed that the number of bytes
>>> sent != bytes to send.
>>> If I wrap the send in a while lus, the problem is solved.
>>>
>>> Does anyone have a suggestion how to detect the interrupting signal
>>> (SIG_ALL doesn't exist)
>>>
>>
>> Use strace.
>>
>> It's likely SIGWINCH (aka SIGSHADOW for Xenomai), which we use internally.
>
> SIGWINCH handler is normally installed with SA_RESTART flag...
>
Normally, yes.
--
Philippe.
prev parent reply other threads:[~2012-06-04 10:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-31 8:08 [Xenomai] TCP communication problem Frederik Bayart
2012-05-31 9:54 ` dietmar.schindler
2012-06-04 9:33 ` Frederik Bayart
2012-06-04 9:53 ` Philippe Gerum
2012-06-04 10:03 ` Gilles Chanteperdrix
2012-06-04 10:05 ` Philippe Gerum [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=4FCC8853.9070008@xenomai.org \
--to=rpm@xenomai.org \
--cc=gilles.chanteperdrix@xenomai.org \
--cc=xenomai@xenomai.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.