From: hackbard Date: Sun, 7 Nov 2004 11:50:30 +0000 (+0000) Subject: added some debug statem X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f615574d57f1d57dd4169ddd4f552d5c000c6dc8;p=physik%2Fnlsop.git added some debug statem --- diff --git a/nlsop_client.c b/nlsop_client.c index 6ac9c92..be24dc9 100644 --- a/nlsop_client.c +++ b/nlsop_client.c @@ -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);