From: Philippe Gerum <rpm@xenomai.org>
To: JiajunDu <wonderboy512@163.com>
Cc: 87ed9urpex.fsf@xenomai.org, xenomai@lists.linux.dev
Subject: Re: A problem regarding SMP
Date: Thu, 23 May 2024 15:32:16 +0200 [thread overview]
Message-ID: <87ikz4sla4.fsf@xenomai.org> (raw)
In-Reply-To: <Zk8peHJbgRay+Ya/@2956c958a175>
JiajunDu <wonderboy512@163.com> writes:
> Ok, thanks for your reply. Now I understand.
>
> Best regards,
> Jiajun
You do have another option beyond the flag which is restricted to
unicast for the time being, which is using an evl (kernel) semaphore,
depleted at init:
evl_init_ksem(&ksem, 0);
...
evl_down(&ksem); /* kthread */
...
evl_broadcast(&ksem); /* master (spawner) */
--
Philippe.
next prev parent reply other threads:[~2024-05-23 13:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-23 3:47 A problem regarding SMP JiajunDu
2024-05-23 7:52 ` Philippe Gerum
2024-05-23 8:04 ` Philippe Gerum
2024-05-23 11:33 ` JiajunDu
2024-05-23 13:32 ` Philippe Gerum [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-22 10:11 JiajunDu
2024-05-22 12:32 ` Philippe Gerum
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=87ikz4sla4.fsf@xenomai.org \
--to=rpm@xenomai.org \
--cc=87ed9urpex.fsf@xenomai.org \
--cc=wonderboy512@163.com \
--cc=xenomai@lists.linux.dev \
/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.