I finally tried the latest version of the link libraries and 
boinc_init_parallel() seems fixed. I had to do a very small modification for 
the api/boinc_api.cpp file to get compiled under Linux and Mac. I am attaching 
a patch file that corrects the problem.

-Kamran



-----Original Message-----
From: David Anderson [mailto:[email protected]]
Sent: Mon 6/14/2010 2:24 PM
To: Kamran Karimi
Cc: [email protected]
Subject: Re: [boinc_dev] boinc_init_parallel() has problems under Linux and Mac
 
I checked in what should be a fix for this.
-- David

Kamran Karimi wrote:
> Hi all,
> 
>  
> 
> AQUA volunteers have reported the following problem with apps that use
> boinc_init_parallel() under Linux and Mac:
> 
>  
> 
> When the "Leave application in memory while suspended" option in the
> preferences/disk and memory usage tab is not set, then stopping a
> workunit will cause a compute error and the workunit will be aborted. I
> tried suspending a workunit manually and the compute error happens
> almost always after about 10 seconds after suspension. This problem does
> not seem to occur under Windows. Changing the code to call boinc_init()
> instead of boinc_init_parallel() fixes the problem.
> 
>  
> 
> The app survives a switch to another project (or a manual suspension) if
> the "Leave in memory" option is selected.
> 
>  
> 
> -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.



Attachment: boinc_api.cpp-patch
Description: boinc_api.cpp-patch

_______________________________________________
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