Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-2359

[C++] Type objects produced by DataType factory are not thread safe

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • None
    • None
    • C++

    Description

      TYPE_FACTORY() macro that produces type shortcuts (boolean(), int32(), utf8() and so on) uses static shared_ptr inside. There are race conditions possible against shared_ptr's reference counter.

      Attachments

        Issue Links

          Activity

            People

              apitrou Antoine Pitrou
              isolenta Anton Shmigirilov
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: