head 1.2; access; symbols pkgsrc-2016Q4:1.1.0.10 pkgsrc-2016Q4-base:1.1 pkgsrc-2016Q3:1.1.0.8 pkgsrc-2016Q3-base:1.1 pkgsrc-2016Q2:1.1.0.6 pkgsrc-2016Q2-base:1.1 pkgsrc-2016Q1:1.1.0.4 pkgsrc-2016Q1-base:1.1 pkgsrc-2015Q4:1.1.0.2 pkgsrc-2015Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2017.02.05.13.18.49; author wiz; state dead; branches; next 1.1; commitid T80vUwEviV8buLEz; 1.1 date 2015.11.13.15.12.15; author skrll; state Exp; branches; next ; commitid gF5Ify1A0IKezWIy; desc @@ 1.2 log @Remove patch that is not in distinfo. @ text @$NetBSD: patch-OMXThread.cpp,v 1.1 2015/11/13 15:12:15 skrll Exp $ --- OMXThread.cpp.orig 2015-01-12 15:10:50.000000000 +0000 +++ OMXThread.cpp @@@@ -41,8 +41,8 @@@@ OMXThread::OMXThread() { pthread_mutex_init(&m_lock, NULL); - pthread_attr_setdetachstate(&m_tattr, PTHREAD_CREATE_JOINABLE); pthread_attr_init(&m_tattr); + pthread_attr_setdetachstate(&m_tattr, PTHREAD_CREATE_JOINABLE); m_thread = 0; m_bStop = false; m_running = false; @ 1.1 log @Pull over two fixes from FreeBSD SingleLock.h Do not create copy of CCriticalSection for each CSingleLock instance Use reference to CCriticalSection as a CSingleLock member. Otherwise assignment operator just byte-copies content of CCriticalSection and for each copy destructor will destroy mutex which may lead to undefined behaviour OMXThread.cpp Fix order of operations on pthread attribute: init first, then modify Bump PKGREVISION @ text @d1 1 a1 1 $NetBSD$ @