Revision: 54908
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54908&view=rev
Author:   brlcad
Date:     2013-03-27 04:51:50 +0000 (Wed, 27 Mar 2013)
Log Message:
-----------
make sure windows is consistent with stashing cpu ids from 1 to ncpu too

Modified Paths:
--------------
    brlcad/trunk/src/libbu/parallel.c

Modified: brlcad/trunk/src/libbu/parallel.c
===================================================================
--- brlcad/trunk/src/libbu/parallel.c   2013-03-27 04:50:05 UTC (rev 54907)
+++ brlcad/trunk/src/libbu/parallel.c   2013-03-27 04:51:50 UTC (rev 54908)
@@ -418,7 +418,7 @@
     user_thread_data_pi.user_arg  = parallel_arg;
 
     bu_semaphore_acquire(BU_SEM_SYSCALL);
-    user_thread_data_pi.cpu_id = parallel_nthreads_started++;
+    user_thread_data_pi.cpu_id = parallel_nthreads_started++ + 1;
     cpu = &user_thread_data_pi.cpu_id;
     bu_semaphore_release(BU_SEM_SYSCALL);
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to