• Marcelo Aquino's avatar
    add static initialization for pthread mutexes · e204656c
    Marcelo Aquino authored
    The documentation says:
    "In cases where default mutex attributes are appropriate, the macro
    PTHREAD_MUTEX_INITIALIZER can be used to initialize mutexes that are
    statically allocated. The effect shall be equivalent to dynamic
    initialization by a call to pthread_mutex_init() with parameter attr
    specified as NULL, except that no error checks are performed."
    e204656c
interrupt.c 5.31 KB