Skip to content
Snippets Groups Projects
Forked from oai / openairinterface5G
Source project has a limited visibility.
  • Cédric Roux's avatar
    c36c0453
    integration fix: fixes for pthread_getname_np · c36c0453
    Cédric Roux authored
    - define _GNU_SOURCE before including pthread.h
    - do not use static for the array 'threadname' used
      to store the name, it makes it a global variable
      accessed by several threads in parallel
    - increase size of 'threadname' (maybe not necessary)
    - properly indent #define / #under (# should be at column 1)
    c36c0453
    History
    integration fix: fixes for pthread_getname_np
    Cédric Roux authored
    - define _GNU_SOURCE before including pthread.h
    - do not use static for the array 'threadname' used
      to store the name, it makes it a global variable
      accessed by several threads in parallel
    - increase size of 'threadname' (maybe not necessary)
    - properly indent #define / #under (# should be at column 1)