Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-48696

signal/sigaction callbacks must have C language linkage

    • Fully Compatible
    • ALL
    • Service arch 2020-11-30

      The function pointer accepted by these C functions needs to have C language linkage. We're getting away without the extern "C". , but only by accident of ABI. Technically it's supposed to be there, as it can change the function pointer's type. We should fix it in the few places it happens.

       

      (spawned by discussion in review for SERVER-48597).

            Assignee:
            gabriel.russell@mongodb.com Gabriel Russell (Inactive)
            Reporter:
            billy.donahue@mongodb.com Billy Donahue
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: