Arnaud: Actually, on reflection, it's not correct for the wrapper to call boinc_init_parallel(); that function assumes that the calling process is going to create new threads. The wrapper should work as-is with multi-thread worker programs.
-- David On 11-Mar-2011 4:14 PM, Arnaud Schoofs wrote: > Hello, > > I have a question/suggestion concerning the wrapper, legacy applications and > multi-threads apps. > Our legacy application is multi-threads and I'd like to run it in > multi-threads mode using the boinc wrapper. > I think I'm gonna try to add a > boinc_init_parallel() > just before the > boinc_init_optios(&options) > in wrapper.cpp (line 692 in trunk) > Do you think it's all I have to do ? I have some trouble to debug my > application with a BOINC client but no project ( > http://boinc.berkeley.edu/trac/wiki/AppDebug), so it's not easy for me to > test the solution proposed. > If this is working, it could be nice to add an option in job.xml file to > enable/disable the init_boinc_parallel don't you think ? > > Thanks for your help, > Have a nice week end > > Arnaud Schoofs > Evo@home project administrator > http://boinc.run.montefiore.ulg.ac.be/evo/ > _______________________________________________ > boinc_dev mailing list > [email protected] > http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev > To unsubscribe, visit the above URL and > (near bottom of page) enter your email address. _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
