Skip to content

different thread implementation #1

@M1cha

Description

@M1cha

I just wanted to let you know about my take on UEFI threads in case you're interested :)
https://github.com/efidroid/uefi_edk2packages_EFIDroidLKLPkg/tree/master/UEFIThreads
I'm basically using TPL_CALLBACKs to schedule threads so there's no need for locking before calling UEFI-API functions.

Also I'd like to know how your CChangeContext callback works because it looks like you're blocking inside a TPL_NOTIFY function there which is not allowed as per UEFI spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions