reduce `ostringstream` usage in postgis plugin #1581

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

Projects

None yet

1 participant

@springmeyer
Member

To avoid locking like:

         ! :   | + ! 1 postgis_datasource::features(mapnik::query const&) const  (in postgis.input) + 897  [0x129ab8d61]
          ! :   | + ! : 1 std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)  (in libstdc++.6.dylib) + 29  [0x7fff9366d89f]
          ! :   | + ! :   1 std::locale::locale()  (in libstdc++.6.dylib) + 79  [0x7fff9364b467]
          ! :   | + ! :     1 __gnu_cxx::__scoped_lock::~__scoped_lock()  (in libstdc++.6.dylib) + 12  [0x7fff93644cf4]
          ! :   | + ! :       1 __gnu_cxx::__mutex::unlock()  (in libstdc++.6.dylib) + 9  [0x7fff93644ca5]
          ! :   | + ! :         1 pthread_mutex_unlock  (in libsystem_c.dylib) + 334  [0x7fff900bd1b7]
          ! :   | + ! :           1 __psynch_mutexdrop  (in libsystem_kernel.dylib) + 10  [0x7fff95f3d10e]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment