<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic std::exception &amp;quot;thread synchronization error&amp;quot; in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670426#M101403</link>
    <description>Hi.&lt;BR /&gt;I compile and link my multithread application with -D_REENTRANT -D_RWSTD_MULTI_THREAD -lpthread options.&lt;BR /&gt;All shared libraries, used by my application, are compiled and linked with this options too.&lt;BR /&gt;&lt;BR /&gt;But sometime, std:exception "thread synchronization error" are throws, when i use objects from std library (string, list etc.)&lt;BR /&gt;</description>
    <pubDate>Sat, 12 Nov 2005 14:44:23 GMT</pubDate>
    <dc:creator>Vadim Yezhakov</dc:creator>
    <dc:date>2005-11-12T14:44:23Z</dc:date>
    <item>
      <title>std::exception "thread synchronization error"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670426#M101403</link>
      <description>Hi.&lt;BR /&gt;I compile and link my multithread application with -D_REENTRANT -D_RWSTD_MULTI_THREAD -lpthread options.&lt;BR /&gt;All shared libraries, used by my application, are compiled and linked with this options too.&lt;BR /&gt;&lt;BR /&gt;But sometime, std:exception "thread synchronization error" are throws, when i use objects from std library (string, list etc.)&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Nov 2005 14:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670426#M101403</guid>
      <dc:creator>Vadim Yezhakov</dc:creator>
      <dc:date>2005-11-12T14:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: std::exception "thread synchronization error"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670427#M101404</link>
      <description>Can anybody help me?</description>
      <pubDate>Tue, 15 Nov 2005 00:55:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670427#M101404</guid>
      <dc:creator>Vadim Yezhakov</dc:creator>
      <dc:date>2005-11-15T00:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: std::exception "thread synchronization error"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670428#M101405</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I do suspect the problem could be resource contention causing synchronization error.&lt;BR /&gt;&lt;BR /&gt;You might be getting EAGAIN/ENOMEM errors.  You need to make sure the application is &lt;BR /&gt;well designed to do the cleanup , i. e. cleanup of non-required threads along with their resources like mutex, semaphores , locks etc.&lt;BR /&gt;&lt;BR /&gt;Depending on the application requirments , certain kernel parameters may be required to tune up to make available OS resources to the application.</description>
      <pubDate>Sun, 20 Nov 2005 22:57:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670428#M101405</guid>
      <dc:creator>Sameer_Nirmal</dc:creator>
      <dc:date>2005-11-20T22:57:02Z</dc:date>
    </item>
    <item>
      <title>Re: std::exception "thread synchronization error"</title>
      <link>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670429#M101406</link>
      <description>This error indicates you haven't consistently compiled with -mt.&lt;BR /&gt;&lt;BR /&gt;Contrary to what Sameer says, it has nothing to do with resource contention".&lt;BR /&gt;&lt;BR /&gt;There is a problem with PHSS_32573 and PHSS_31855 that would cause false instances of this problem if your shared libs were created incorrectly.</description>
      <pubDate>Tue, 07 Mar 2006 00:59:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/std-exception-quot-thread-synchronization-error-quot/m-p/3670429#M101406</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2006-03-07T00:59:54Z</dc:date>
    </item>
  </channel>
</rss>

