projects
/
physik
/
nlsop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
85ca848
)
added some debug statem
author
hackbard
<hackbard>
Sun, 7 Nov 2004 11:50:30 +0000
(11:50 +0000)
committer
hackbard
<hackbard>
Sun, 7 Nov 2004 11:50:30 +0000
(11:50 +0000)
nlsop_client.c
patch
|
blob
|
history
diff --git
a/nlsop_client.c
b/nlsop_client.c
index
6ac9c92
..
be24dc9
100644
(file)
--- 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);
/* 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;
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;
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);
/* get info (+data) */
network_receive(net->connection[0].fd,data,1);