All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Blanc <julien.blanc@sprinte.eu>
To: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: Mode Switch
Date: Mon, 15 Feb 2021 13:57:09 +0000	[thread overview]
Message-ID: <a3d7098288f689f83be4a3fd43d82ba6de379a68.camel@sprinte.eu> (raw)
In-Reply-To: <CAFZ-hKg=m0t_dF7iqzzb=xSd15zJdyFK6kxZ9oEXcJyqJ+zXew@mail.gmail.com>

Le lundi 15 février 2021 à 14:52 +0100, Leandro Bucci via Xenomai a
écrit :
> What I want is to have a function that generates me mode switches

__STD(nanosleep)(timeout, NULL) with a zero timeout should do it.

and you can use any switch-primary call to go back to primary mode.

Regards,

Julien

  reply	other threads:[~2021-02-15 13:57 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-15 13:00 Mode Switch Leandro Bucci
     [not found] ` <358306354.8105980.1613394904650.JavaMail.zimbra@wolfram.com>
2021-02-15 13:16   ` Leandro Bucci
2021-02-15 13:46     ` Per Oberg
2021-02-15 13:52       ` Leandro Bucci
2021-02-15 13:57         ` Julien Blanc [this message]
2021-02-15 14:06           ` Leandro Bucci
  -- strict thread matches above, loose matches on Subject: below --
2021-01-03 20:29 Leandro Bucci
2021-01-03 22:00 ` steve freyder
2021-01-03 22:08   ` Leandro Bucci
2021-01-03 22:16     ` steve freyder
2021-01-03 22:22       ` Leandro Bucci
2021-01-03 22:57         ` steve freyder

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=a3d7098288f689f83be4a3fd43d82ba6de379a68.camel@sprinte.eu \
    --to=julien.blanc@sprinte.eu \
    --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.