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) | | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [rebecca@openfw.io]

_._,_._,_