(original) (raw)

Since the initial email got cross-posted, would it be possible to drop python-dev from any discussing that doesn't directly involve Python itself (e.g. we don't need to be involved in a discussion about whether you all have threading on UEFI)?

On Fri, 3 Nov 2017 at 07:57 Michael Zimmermann <sigmaepsilon92@gmail.com> wrote:
> FYI, this library adds thread support to UEFI:
\>
\> https://github.com/Openwide-Ingenierie/GreenThreads-UEFI

IMO this library has some crucial problems like changing the TPL
during context switching.
For my project "EFIDroid" I've invested many months analyzing, testing
and implementing my own threading implementation based on
LK(LittleKernel, a MIT licensed project) threads and get/set -context.

The result is a pretty stable implementation which can even be used in
UEFI drivers:
https://github.com/efidroid/uefi\_edk2packages\_EFIDroidLKLPkg/tree/master/UEFIThreads
I'm currently using this lib for my LKL(LinuxKernelLibrary) port to be
able to use linux touchscreen drivers in UEFI - so you could say it
has been well tested.

The only "problem" is that it only supports ARM right now and that the
get/set context implementation was copied (and simplified) from glibc
which means that this part is GPL code.

Thanks
Michael Zimmermann

On Thu, Nov 2, 2017 at 8:37 PM, Blibbet <blibbet@gmail.com> wrote:
\> On 11/02/2017 09:41 AM, Jayaprakash, N wrote:
\>> Would you consider adding thread support in this port of Python for
\> EDK2 shell?
\>
\> FYI, this library adds thread support to UEFI:
\>
\> https://github.com/Openwide-Ingenierie/GreenThreads-UEFI
\>
\> Note that the library is GPLv2, ...but the author (a 1-person project)
\> could be asked to relicense to BSD to fit into Tianocore.
\>
\> Note that library is currently Intel x64-centric, and contains a bit of
\> assembly. Will need some ARM/RISC-V/x86 contributions.
\>
\> HTH,
\> Lee Fisher
\> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
\> edk2-devel mailing list
\> edk2-devel@lists.01.org
\> https://lists.01.org/mailman/listinfo/edk2-devel
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/brett%40python.org