Revision: 54906
http://brlcad.svn.sourceforge.net/brlcad/?rev=54906&view=rev
Author: brlcad
Date: 2013-03-27 04:18:31 +0000 (Wed, 27 Mar 2013)
Log Message:
-----------
remove bu_cpulimit_get() and bu_cpulimit_set() as a minimally impacting change
since they've also pretty much done nothing for a couple decades.
Modified Paths:
--------------
brlcad/trunk/CHANGES
brlcad/trunk/include/bu.h
brlcad/trunk/src/libbu/parallel.c
Modified: brlcad/trunk/CHANGES
===================================================================
--- brlcad/trunk/CHANGES 2013-03-27 04:14:43 UTC (rev 54905)
+++ brlcad/trunk/CHANGES 2013-03-27 04:18:31 UTC (rev 54906)
@@ -885,4 +885,6 @@
7.24
----
s/bu_set_realtime([[:space:]]);//g
- didn't do anything [7.23
+ didn't do anything [7.23]
+s/.*bu_cpulimit_[sg]et([[:space:]]);//g
+ didn't do anything [7.23]
Modified: brlcad/trunk/include/bu.h
===================================================================
--- brlcad/trunk/include/bu.h 2013-03-27 04:14:43 UTC (rev 54905)
+++ brlcad/trunk/include/bu.h 2013-03-27 04:18:31 UTC (rev 54906)
@@ -4037,17 +4037,6 @@
BU_EXPORT extern void bu_nice_set(int newnice);
/**
- * Return the current CPU limit, in seconds. Zero or negative return
- * indicates that limits are not in effect.
- */
-BU_EXPORT extern int bu_cpulimit_get();
-
-/**
- * Set CPU time limit, in seconds.
- */
-BU_EXPORT extern void bu_cpulimit_set(int sec);
-
-/**
* Return the maximum number of physical CPUs that are considered to
* be available to this process now.
*/
Modified: brlcad/trunk/src/libbu/parallel.c
===================================================================
--- brlcad/trunk/src/libbu/parallel.c 2013-03-27 04:14:43 UTC (rev 54905)
+++ brlcad/trunk/src/libbu/parallel.c 2013-03-27 04:18:31 UTC (rev 54906)
@@ -193,20 +193,6 @@
int
-bu_cpulimit_get(void)
-{
- return -1;
-}
-
-
-void
-bu_cpulimit_set(int sec)
-{
- if (sec < 0) sec = 0;
-}
-
-
-int
bu_avail_cpus(void)
{
int ncpu = -1;
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