Skip to content

Re-entrancy requirements #12

@DavidMBrennan

Description

@DavidMBrennan

Is this mutex strictly required for all API calls?

        mutex_lock(&g_bbapi.mutex);

I have utilized this code base as a guide to implement a BBAPI for another operating system. But I am finding that certain calls (BIOSIOFFS_CXPWRSUPP_DISPLAYLINE1/2) are very slow (up to 5ms). This is then blocking my ability to make calls to (BIOSIOFFS_CXPWRSUPP_GETBUTTONSTATE) in a timely manner from a separate thread. I would like to have a separate mutex for each "function" that requires re-entry protection, if that is allowed.

Is there any documentation for the actual bios call itself? Or is this code the entirety of the public documentation?

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