Hi,

 

I tried the new support mechanism for multi-process apps:

 

> ---------------

> BOINC_OPTIONS options;

> 

> boinc_options_defaults(options);

> options.multi_thread = true;    // include this if your app's main

> process uses multiple threads

> options.multi_process = true;   // include this if your app uses

> multiple processes

> 

> boinc_init_options(&options);

> ---------------

 

There was a small problem under Windows and Mac: For Windows,
procinfo.cpp and procinfo_win.cpp were not included in Visual Studio's
solution file (libboinc and libboinc_staticcrt), so the resulting BOINC
library wouldn't link properly with the science app (missing functions).
The same problem existed with the Mac version, were procinfo.cpp and
procinfo_mac.cpp files were missing from Xcode's project file. In both
cases the solution was to simply add the missing files, but it took me a
while to see what was causing the problem.

 

The app using the new multi-process mechanism has been running on
volunteer computers for a few days now and I haven't received any error
reports yet.

 

-Kamran

 

_______________________________________________
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.

Reply via email to