Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

locking: Simplify maintenance / debugging /documentation #1420

Merged
merged 1 commit into from
May 24, 2024

Commits on May 23, 2024

  1. locking: Simplify maintenance / debugging /documentation

    Update the Public API equivalent of the libcoap functions that need to be
    called when locked with a name suffix of _lkd.
    
    Move matching Public API functions out of coap_threadsafe.c to be coded
    just ahead of the newly renamed _lkd function.
    
    Properly define the _lkd function in the appropriate _internal.h file for
    documentation, removing the #defines from coap_threadsafe_internal.h.
    
    Tag all the Public API functions that have a _lkd function with COAP_API.
    COAP_API can then be defined as to what should be done for that function.
    
    Check libcoap library does not call the original Public API function when
    it should be calling the _lkd function by marking the Public API not _lkd
    functions as deprecated during the libcoap library build.
    [Done by the new COAP_API being defined as __attribute__((deprecated)).]
    
    Work in progress for all the functions that need to be multi-thread safe.
    mrdeep1 committed May 23, 2024
    Configuration menu
    Copy the full SHA
    6f7ad8d View commit details
    Browse the repository at this point in the history