Changeset - fcf24e044195
[Not reviewed]
default
0 1 0
LordOfWar - 16 years ago 2009-07-05 02:18:51

accidentally hit shift enter, which I am used to in instant messenger, but it finished my commit comment, now I continue here...

to explain hcfjob a bit more....
0 (done)
1 (done)
2 (done)
3 (done) <-- hcfjob
4 (not done) not done possibly cause of a new job with higher priority
5 (done)
6 (not done)
7 (not done) <-- highest_jobnum

example above also describes highest_jobnum, which I also found very useful for scanning and creating the next job (new_jobnum = highest_jobnum + 1).

I might have done more work on the_finisher function as well... can't remember and I need to rest... its 2:20 am
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/server/distrend.c
Show inline comments
 
@@ -17,24 +17,25 @@
 
  along with DistRen.  If not, see <http://www.gnu.org/licenses/>.
 

	
 
*/
 

	
 
/* This file contains the code which both processes (renders) jobs as a slave, and the code which distributes frames to slaves after receiving them from the client portion of the codebase. */
 

	
 
 /* Just some notes -- Ethan Zonca
 
 * ++ Make data availible for other apps to parse
 
 * Server<==>Client Communication
 
 * Upload while rendering
 
 */
 

	
 

	
 
#include <stdio.h>
 
#include "execio.h"
 

	
 
// needs to be implemented
 
#include "options.h"
 

	
 
#include <confuse.h>
 

	
 
#define max 100
 
// maximum number of stored jobs in memory, per job type (lux/blend). Eventually we can dump this data to disk, or atleast the remainder not in memory...
 

	
 
int jobnum = 0;
0 comments (0 inline, 0 general)