public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Jayaprakash, N via groups.io" <n.jayaprakash=intel.com@groups.io>
To: Yoshinoya <yoshinoyatoko@163.com>,
	"Kinney, Michael D" <michael.d.kinney@intel.com>,
	"pedro.falcato@gmail.com" <pedro.falcato@gmail.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] Python-3.6.8 UEFI : fork support
Date: Mon, 17 Feb 2025 05:23:58 +0000	[thread overview]
Message-ID: <PH7PR11MB5943CB583062E7FEF3D6FC30EEFB2@PH7PR11MB5943.namprd11.prod.outlook.com> (raw)
In-Reply-To: <6e9b7ba0.2bb1.19511cf27cb.Coremail.yoshinoyatoko@163.com>

[-- Attachment #1: Type: text/plain, Size: 1364 bytes --]

Hi Yoshinoya,

It's not supported in UEFI.

You can see that macros are not defined as part of pyconfig.h
https://github.com/tianocore/edk2-libc/blob/master/AppPkg/Applications/Python/Python-3.6.8/PyMod-3.6.8/Include/pyconfig.h

So this functionality doesn't get compiled for UEFI.

Regards,
JP

From: Yoshinoya <yoshinoyatoko@163.com>
Sent: Monday, February 17, 2025 8:19 AM
To: Kinney, Michael D <michael.d.kinney@intel.com>; pedro.falcato@gmail.com; devel@edk2.groups.io; Jayaprakash, N <n.jayaprakash@intel.com>
Subject: [edk2-devel] Python-3.6.8 UEFI : fork support

Hi, Michael
I  am studying Python368 uefi code.
I have a question, ask for help.

I found some marco defines in edk2module.c
"HAVE_FORK / HAVE_FORK1 / HAVE_SPAWNV / etc"

It seems about multi-thread support functions,
so my question is:
1. Have these functions been tested on uefi shell environments?
2. Are there any code samples for study how to use them?

Thank you very much.

best wishes,


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#121125): https://edk2.groups.io/g/devel/message/121125
Mute This Topic: https://groups.io/mt/111225588/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



[-- Attachment #2: Type: text/html, Size: 9146 bytes --]

  reply	other threads:[~2025-02-17  5:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-17  2:49 [edk2-devel] Python-3.6.8 UEFI : fork support Yoshinoya via groups.io
2025-02-17  5:23 ` Jayaprakash, N via groups.io [this message]
2025-02-17 11:13   ` Yoshinoya via groups.io
2025-02-17 15:51     ` Jayaprakash, N via groups.io
2025-02-18  5:07       ` Yoshinoya via groups.io

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-list 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=PH7PR11MB5943CB583062E7FEF3D6FC30EEFB2@PH7PR11MB5943.namprd11.prod.outlook.com \
    --to=devel@edk2.groups.io \
    /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