[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    valgrind/coregrind
From:       Nicholas Nethercote <njn () cs ! utexas ! edu>
Date:       2005-05-24 20:08:07
Message-ID: 1116965287.155718.19141.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 417851 by nethercote:


All other checks with VG_N_THREADS are <, except this one.
(From Madhu Kurup.)




 M  +1 -1      vg_scheduler.c  


--- trunk/valgrind/coregrind/vg_scheduler.c #417850:417851
@@ -236,7 +236,7 @@
 {
    ThreadId tid;
    
-   for(tid = 1; tid <= VG_N_THREADS; tid++)
+   for(tid = 1; tid < VG_N_THREADS; tid++)
       if (VG_(threads)[tid].status != VgTs_Empty && VG_(threads)[tid].os_state.lwpid == lwp)
 	 return tid;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic