]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove bogus assertion.
authorJulian Seward <jseward@acm.org>
Thu, 13 Jun 2002 13:56:15 +0000 (13:56 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 13 Jun 2002 13:56:15 +0000 (13:56 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@412

coregrind/vg_scheduler.c
vg_scheduler.c

index ee404d29c9ea7fcbcaaebf19abe2f6c763a0768d..c675a83983d6a1cd82d7faba97d4f8ad9b433c90 100644 (file)
@@ -2369,7 +2369,6 @@ void do_pthread_mutex_lock( ThreadId tid,
       /* We get it! [for the first time]. */
       mutex->__m_count = 1;
       mutex->__m_owner = (_pthread_descr)tid;
-      vg_assert(VG_(threads)[tid].associated_mx == NULL);
       /* return 0 (success). */
       SET_EDX(tid, 0);
    }
index ee404d29c9ea7fcbcaaebf19abe2f6c763a0768d..c675a83983d6a1cd82d7faba97d4f8ad9b433c90 100644 (file)
@@ -2369,7 +2369,6 @@ void do_pthread_mutex_lock( ThreadId tid,
       /* We get it! [for the first time]. */
       mutex->__m_count = 1;
       mutex->__m_owner = (_pthread_descr)tid;
-      vg_assert(VG_(threads)[tid].associated_mx == NULL);
       /* return 0 (success). */
       SET_EDX(tid, 0);
    }