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 <[email protected]>
Sent: Monday, February 17, 2025 8:19 AM
To: Kinney, Michael D <[email protected]>; [email protected]; 
[email protected]; Jayaprakash, N <[email protected]>
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/21656
Group Owner: [email protected]
Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to