Changeset - 9211f8b8061b
[Not reviewed]
default
0 2 0
ethanzonca@zserver2 - 16 years ago 2009-12-19 21:29:24

Minor updates
2 files changed with 3 insertions and 2 deletions:
0 comments (0 inline, 0 general)
TODO
Show inline comments
 
@@ -13,12 +13,13 @@ Notes:
 
Build
 

	
 
General
 
=-documenation: manpages
 

	
 
Master
 
*=Add lockout of slaves below a certain version
 
*-Complete testing with interactive test mode
 
 -update frame assigner to distribute some frames for lower-priority jobs when there's a higher priority job
 
?-make frame assigner not assign frames beyond the amount of frames in a single job
 
B-Add calls to remotio -> make API for sending messages ~= a function for every type of message defined in protocol.h
 
 -Write a stub for getting info from the tarball/validifying the tarball. Read distren-job.xml, a file in the tarball, to find out 1. which rendering system to use (that system, e.g. blender/povray, can read more specifics, such as name of file to pass to blender and frames. Options common between different systems will be handled in common as best as possible)
 
 -Write a stub for publishing file and constructing job description so that the job can be shared
src/server/slavefuncs.c
Show inline comments
 
@@ -47,13 +47,13 @@ int sendSignal(struct remoteio *rem, cha
 

	
 
  _distren_asprintf(&ssignal, "%c", signal);
 
  towrite = strlen(ssignal);
 
  while( towrite
 
	 && !remoteio_write(rem, ssignal, towrite, &written))
 
    {
 
      fprintf(stderr, "Writing...\n");
 
      fprintf(stderr, "Sending request...\n");
 
      towrite -= written;
 
    }
 
  if(written)
 
    return 0;
 

	
 
  /**
 
@@ -72,13 +72,13 @@ int sendExtSignal(struct remoteio *rem, 
 
  char *ssignal;
 
  _distren_asprintf(&ssignal, "%c%s", signal, data); // Just append the data FIXME: We should do this differently
 
  towrite = strlen(ssignal);
 
  while( towrite
 
          && !remoteio_write(rem, ssignal, towrite, &written))
 
     {
 
       fprintf(stderr, "Writing...\n");
 
       fprintf(stderr, "Sending request...\n");
 
       towrite -= written;
 
     }
 
   if(written)
 
     return 0;
 

	
 
   /**
0 comments (0 inline, 0 general)