The documentation was a mess; I cleaned it up somewhat. Multithreaded apps must initialize as described here: http://boinc.berkeley.edu/trac/wiki/BasicApi
and other info for multithreaded apps is here: http://boinc.berkeley.edu/trac/wiki/AppMultiThread -- David On 06-Jan-2015 6:52 PM, Nicolás Alvarez wrote:
My current application isn't multithreaded in the sense that it uses a single CPU core, but it does create multiple threads. More specifically, it creates a thread to do the actual work and keeps the main thread for control tasks. In the future I may easily make it create multiple threads and be a multi-core app, but not for now. Do I need to do anything special with boinc_init to let BOINC properly suspend and resume the application? The BoincApi wiki page only tells me not to create threads or store the PID before calling boinc_init, which makes me think it has special handling for MT apps (fork()ing?), but how does it know my app is MT?
_______________________________________________ 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.
