From: Alexander Aksenov Date: Wed, 6 Nov 2013 12:29:53 +0000 (+0400) Subject: [FIX] Remove postBlockBegin() from pthread_self X-Git-Tag: Tizen_SDK_2.3~121 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=de1369062c0f4537d0613421f6fbac1ef73b6319;p=platform%2Fcore%2Fsystem%2Fswap-probe.git [FIX] Remove postBlockBegin() from pthread_self Cause it is already included in AFTER_PACK_ORIGINAL_THREAD define Change-Id: Ia1f9bcf718a48aa3bc2a3fedbb16f8822420c2aa Signed-off-by: Alexander Aksenov --- diff --git a/probe_thread/libdathread.c b/probe_thread/libdathread.c index 883e0cc..9140ad8 100644 --- a/probe_thread/libdathread.c +++ b/probe_thread/libdathread.c @@ -265,13 +265,9 @@ pthread_t pthread_self(void) ret_pthr = pthread_selfp(); newerrno = errno; - if(postBlockBegin(blockresult)) { - - AFTER_PACK_ORIGINAL_THREAD(API_ID_pthread_self, - ret_pthr, ret_pthr, THREAD_API_OTHER, "", 0); - postBlockEnd(); - } + AFTER_PACK_ORIGINAL_THREAD(API_ID_pthread_self, + ret_pthr, ret_pthr, THREAD_API_OTHER, "", 0); return ret_pthr; }