Revision: 54933
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54933&view=rev
Author:   brlcad
Date:     2013-03-28 05:27:47 +0000 (Thu, 28 Mar 2013)
Log Message:
-----------
declare the new bu_parallel_id() function for returning the current 
bu_parallel's cpu number (1 to ncpu)

Modified Paths:
--------------
    brlcad/trunk/include/bu.h

Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h   2013-03-28 05:23:08 UTC (rev 54932)
+++ brlcad/trunk/include/bu.h   2013-03-28 05:27:47 UTC (rev 54933)
@@ -3440,7 +3440,7 @@
 /** @addtogroup thread */
 /** @ingroup parallel */
 /** @{ */
-/** @file libbu/ispar.c
+/** @file libbu/parallel.c
  *
  * subroutine to determine if we are multi-threaded
  *
@@ -3464,6 +3464,12 @@
  */
 BU_EXPORT extern void bu_kill_parallel();
 
+/**
+ * returns the CPU number of the current bu_parallel() invoked thread.
+ */
+BU_EXPORT extern int bu_parallel_id(void);
+
+
 /** @} */
 
 /** @addtogroup log */

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