Don't call getpid if we plan to overwrite result with taskid during ObjectId generation

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 1.7.0
    • Affects Version/s: None
    • Component/s: libbson
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      _bson_context_init always calls getpid to generate an OID, then if possible and configured to do so, overwrites the result with the Linux thread "task id".

            Assignee:
            Hannes Magnusson (Inactive)
            Reporter:
            A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: