locale lock in `dbf_file::read_header()` #1580

Open
springmeyer opened this Issue Nov 19, 2012 · 0 comments

1 participant

@springmeyer
Mapnik member

Seems like we should be able to avoid this lock in read_header:

          ! :   | + !     1 shape_featureset<mapnik::filter_in_box>::shape_featureset(mapnik::filter_in_box const&, std::string const&, std::set<std::string, std::less<std::string>, std::allocator<std::string> > const&, std::string const&, long, int)  (in shape.input) + 83  [0x129b3e6b3]
          ! :   | + !       1 shape_io::shape_io(std::string const&, bool)  (in shape.input) + 188  [0x129b453ac]
          ! :   | + !         1 dbf_file::dbf_file(std::string const&)  (in shape.input) + 302  [0x129b294fe]
          ! :   | + !           1 dbf_file::read_header()  (in shape.input) + 449  [0x129b29871]
          ! :   | + !             1 std::locale::locale()  (in libstdc++.6.dylib) + 21  [0x7fff9364b42d]
          ! :   | + !               1 std::locale::_S_initialize()  (in libstdc++.6.dylib) + 25  [0x7fff9364b48f]
          ! :   | + !                 1 pthread_once  (in libsystem_c.dylib) + 10  [0x7fff900b8f83]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment