Revision: 54889
          http://brlcad.svn.sourceforge.net/brlcad/?rev=54889&view=rev
Author:   brlcad
Date:     2013-03-26 20:26:56 +0000 (Tue, 26 Mar 2013)
Log Message:
-----------
move comments from source to header, remove unhelpful file comment, include 
common.h before system headers

Modified Paths:
--------------
    brlcad/trunk/include/bu.h
    brlcad/trunk/src/libbu/affinity.c

Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h   2013-03-26 20:24:39 UTC (rev 54888)
+++ brlcad/trunk/include/bu.h   2013-03-26 20:26:56 UTC (rev 54889)
@@ -432,13 +432,16 @@
 
 /*----------------------------------------------------------------------*/
 
-/** @file affinity.c
+/**
+ * Set affinity mask of current thread to the CPU set it is currently
+ * running on. If it is not running on any CPUs in the set, it is
+ * migrated to CPU 0 by default.
  *
- * Contains utility to set affinity mask of a thread to the CPU set it
- * is currently running on.
+ * Return:
+ *  0 on Suceess
+ * -1 on Failure
  *
  */
-
 BU_EXPORT extern int bu_set_affinity(void);
 
 /*----------------------------------------------------------------------*/

Modified: brlcad/trunk/src/libbu/affinity.c
===================================================================
--- brlcad/trunk/src/libbu/affinity.c   2013-03-26 20:24:39 UTC (rev 54888)
+++ brlcad/trunk/src/libbu/affinity.c   2013-03-26 20:26:56 UTC (rev 54889)
@@ -18,12 +18,7 @@
  * information.
  */
 
-/** @file affinity.c
- *
- * Contains utility to set affinity mask of a thread to the CPU set it
- * is currently running on.
- *
- */
+#include "common.h"
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -32,16 +27,7 @@
 #  include <pthread.h>
 #endif
 
-/**
- * Set affinity mask of current thread to the CPU set it is currently
- * running on. If it is not running on any CPUs in the set, it is
- * migrated to CPU 0 by default.
- *
- * Return:
- *  0 on Suceess
- * -1 on Failure
- *
- */
+
 int
 bu_set_affinity(void)
 {

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


------------------------------------------------------------------------------
Own the Future-Intel&reg; 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