Remember gstate.now is a global variable that is set in the main polling loop. everything in cpu_sched.cpp should be called well after that is set in the main loop.
jm7
"Richard
Haselgrove"
<r.haselgr...@bti To
nternet.com> <[email protected]>
cc
04/22/2009 09:49 <[email protected]>,
AM "BOINC Developers Mailing List"
<[email protected]>,
"David Anderson"
<[email protected]>
Subject
Re: [boinc_alpha] 6.6.20 and work
scheduling]
> now() calls a function. now would be a direct variable. At the
beginning
> of the current poll, you will find gstate.now = now(). From that point
> on,
> gstate.now can be used as a stand in for the function as it really should
> not change much before the end of the poll loop.
>
> jm7
Then I suspect an uninitialised variable on lines:
349
361
459
465
812
823
932
933
1087
1088
of http://boinc.berkeley.edu/trac/browser/trunk/boinc/client/cpu_sched.cpp
(line numbers as at revision 17847)
_______________________________________________
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.
