Posts by seravitae

1) Message boards : API : Accounting for snooze feature in my workunits (Message 27430)
Posted 15 Sep 2009 by seravitae
Post:
Hi there,

thanks for pointing this out. I haven't yet implemented the boinc api stuff yet, though i know a boinc python wrapper exists and will be looking into it soon.

I understand that BOINC API handles snoozing, but what i don't currently understand is the technicalities of your statement "the wrapper would pause your app" - for the wrapper to pause my application, my application must be able to detect some sort of flag (variable or signal of some form) to which my program could respond by temporarily halting computation. I cannot figure out what this flag/variable/signal is based on the docs.

cheers!
2) Message boards : API : Accounting for snooze feature in my workunits (Message 27411)
Posted 15 Sep 2009 by seravitae
Post:
Hey guys,
I'm new to BOINC development and am currently halfway through making a python workunit program. I was just wondering, currently my application has no 'pause' feature as it were, because I know BOINC has it's own snooze feature and methods of controlling the active workunit process/threads.

What i want to know is, how do I account for this in my code? Currently the arguments passed to the workunit is split up into 100 parts to process, such that I can return a percentage (for BOINC status update) and at this point I believe i wish to somehow check if BOINC is in snooze mode and thus wait until snooze mode has ended. I cannot find this on the documents on the website. if anyone has any ideas of how to account for this, i'd appreciate it.

Cheers :)




Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.