Difference between
modified post f3cd1 by Anonymous on Mon 1st Aug 2022 16:01
original post 3ca1dd30 by Anonymous on Mon 1st Aug 2022 15:52
Download diff
Show
old version |
new version |
both versions
| 1 | - | /work/rds_mutex_issues/Rds_15_17_074$ time grep -r -F 'pthread_mutex_init' . | fgrep -v '/.svn/' | |
| 1 | + | ~/work/rds_mutex_issues/Rds_15_17_074$ time grep -r -E 'pthread_mutex_init|_MUTEX_INITIALIZER_' . 2>&1 | egrep -v '(/.svn/|binary file matches)' | |
| 2 | 2 | ./Base/PosixSystem.cpp: errorVal = pthread_mutex_init(&m_mutex, &attr); | |
| 3 | 3 | ./Base/PosixSystem.cpp: errorVal = pthread_mutex_init(c, &attr); | |
| 4 | 4 | ./Base/PosixSystem.cpp: errorVal = pthread_mutex_init(&event->crit, 0); | |
| 5 | 5 | ./Base/RMsgQue.cpp: errorVal = pthread_mutex_init(&m_mutex, &attr); | |
| 6 | 6 | ./Boost/boost_1_33_1/boost/detail/atomic_count_pthreads.hpp: pthread_mutex_init(&mutex_, 0); | |
| 7 | 7 | ./Boost/boost_1_33_1/boost/detail/lwm_pthreads.hpp:// HPUX 10.20 / DCE has a nonstandard pthread_mutex_init | |
| 8 | 8 | ./Boost/boost_1_33_1/boost/detail/lwm_pthreads.hpp: pthread_mutex_init(&m_, pthread_mutexattr_default); | |
| 9 | 9 | ./Boost/boost_1_33_1/boost/detail/lwm_pthreads.hpp: pthread_mutex_init(&m_, 0); | |
| 10 | 10 | ./Boost/boost_1_33_1/boost/detail/sp_counted_base_pt.hpp:// HPUX 10.20 / DCE has a nonstandard pthread_mutex_init | |
| 11 | 11 | ./Boost/boost_1_33_1/boost/detail/sp_counted_base_pt.hpp: pthread_mutex_init( &m_, pthread_mutexattr_default ); | |
| 12 | 12 | ./Boost/boost_1_33_1/boost/detail/sp_counted_base_pt.hpp: pthread_mutex_init( &m_, 0 ); | |
| 13 | 13 | ./Boost/boost_1_33_1/boost/pool/detail/mutex.hpp: { pthread_mutex_init(&mtx, 0); } | |
| 14 | 14 | ./Communication/CifXTCPServer/OS_Specific.c: if( pthread_mutex_init(g_ptMutex, &mta) != 0 ) | |
| 15 | 15 | ./Communication/ESDK_src/Platform/Linux/platform.c: pthread_mutex_init(pMutex, NULL); | |
| 16 | 16 | ./Communication/Encryption/mbedtls/crypto/library/threading.c: mutex->is_valid = pthread_mutex_init( &mutex->mutex, NULL ) == 0; | |
| 17 | 17 | ./Communication/Sercos3Base/src/Driver/SERC_driver.cpp: pthread_mutex_init(&cards->card[card].mutex, 0); | |
| 18 | 18 | ./Communication/Sercos3Base/src/Driver/SERC_nrt.cpp: pthread_mutex_init(&mutex, 0); | |
| 19 | 19 | ./Communication/Sercos3Base/src/Driver/igb.c: if (pthread_mutex_init(adapter->memlock, &attr) != 0) | |
| 20 | 20 | ./Communication/libcifx/src/OS_Linux.c: if( pthread_mutex_init(mut, &attr) != 0 ) | |
| 21 | 21 | ./Communication/libcifx/src/OS_Linux.c: if( pthread_mutex_init(mutex, &mta) != 0 ) | |
| 22 | 22 | ./Communication/libcifx/src/OS_Linux.c: if( pthread_mutex_init(&(ev->mutex), &ev_mutattr) != 0 ) | |
| 23 | 23 | ./Externals/OpenUAStack/open62541/arch/posix/ua_architecture.h: pthread_mutex_init(&mutexName, &mutexName##_attr); \ | |
| 24 | 24 | ./Externals/OpenUAStack/open62541/deps/mqtt-c/mqtt_pal.h: #define MQTT_PAL_MUTEX_INIT(mtx_ptr) pthread_mutex_init(mtx_ptr, NULL) | |
| 25 | 25 | ./Externals/OpenUAStack/open62541/tests/testing-plugins/thread_wrapper.h:#define MUTEX_INIT(name) (pthread_mutex_init(&(name), NULL) == 0) | |
| 26 | 26 | ./Tools/Wildleven/inc/sqlite/sqlite3.c: pthread_mutex_init(&p->mutex, 0); | |
| 27 | 27 | ./Tools/Wildleven/inc/sqlite/sqlite3.c: pthread_mutex_init(&p->mutex, &recursiveAttr); | |
| 28 | 28 | ./Tools/Wildleven/inc/sqlite/sqlite3.c: pthread_mutex_init(&p->mutex, 0); | |
| 29 | 29 | ||
| 30 | - | real 0m9.010s | |
| 30 | + | real 0m10.214s | |
| 31 | - | user 0m1.416s | |
| 31 | + | user 0m3.200s | |
| 32 | - | sys 0m1.493s | |
| 32 | + | sys 0m1.338s | |
| 33 | 33 |
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.
rovema.kpaste.net RSS