X-Git-Url: https://hackdaworld.org/gitweb/?p=physik%2Fnlsop.git;a=blobdiff_plain;f=nlsop_server.c;h=ea4579164d0de297e6b3f790aca0746399fb819c;hp=085e289a37f4007643197e3468142b29c0799c03;hb=1ec38f9c8dc24e71cd00a7e8fb1bfb04c617fb9b;hpb=f9a7f27f952d23ebd856c4c60fbdf7c024f95f7b diff --git a/nlsop_server.c b/nlsop_server.c index 085e289..ea45791 100644 --- a/nlsop_server.c +++ b/nlsop_server.c @@ -207,6 +207,9 @@ int add_job(t_net *net,int chan,t_list *jl) { job.step=0; list_add_element(jl,&job,sizeof(t_job)); + + printf("job added: b=%f | c=%f | s=%f ...\n", + job.info.b,job.info.c,job.info.s); return 1; } @@ -337,6 +340,8 @@ int distribute_jobs(t_event *event,void *allineed) { g_list=(t_list *)addr[2]; job=(t_list *)addr[3]; + printf("d: distributing jobs ...\n"); + count_j=list_count(job); count_c=list_count(c_list);