]> hackdaworld.org Git - physik/nlsop.git/commitdiff
added some debug statem
authorhackbard <hackbard>
Sun, 7 Nov 2004 11:50:30 +0000 (11:50 +0000)
committerhackbard <hackbard>
Sun, 7 Nov 2004 11:50:30 +0000 (11:50 +0000)
nlsop_client.c

index 6ac9c92b36bd706fd231137e541ff87fa20a9814..be24dc97bfaa22c5c0bd56d31cee6493df7e4e48 100644 (file)
@@ -396,6 +396,7 @@ int main(int argc,char **argv)
 
   /* wait for job */
   event_math(net.connection[0].fd,&event,READ,ADD);
+  printf("idle, waiting for jobs ...\n");
   event_start(&event,NULL,get_data_and_calc,NULL);
 
   return 1;
@@ -425,6 +426,8 @@ int get_data_and_calc(t_event *event,void *allineed) {
   gmy_info=&my_info;
   gi=&i;
   dc=0;
+
+  printf("got a new job ...\n");
   
   /* get info (+data) */
   network_receive(net->connection[0].fd,data,1);