Skip to content

Commit 800aa6b

Browse files
committed
fixed syntax error (missing right parent).
1 parent f436743 commit 800aa6b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/conv-core/convcore.C

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1722,13 +1722,14 @@ void CsdSchedulerState_new(CsdSchedulerState_t *s)
17221722
void *CsdNextMessage(CsdSchedulerState_t *s) {
17231723
void *msg;
17241724

1725-
s->iter++;
1725+
s->iter++;
17261726

17271727
#if CMK_NODE_QUEUE_AVAILABLE
1728-
if (1 == (s->iter & (1 << s->nodeGrpFreq)) // since we use nodeGrpFreq == 0 to mean
1728+
if (1 == (s->iter & (1 << s->nodeGrpFreq))) // since we use nodeGrpFreq == 0 to mean
17291729
// don't check NodeQ with high priority, i
1730-
// value of 1 serves well as when to check it.i but we sshould avoid "%" operator
1731-
// note: s->nodeGrpFreq is raised to a power of 2
1730+
// value of 1 serves well as when to check it.
1731+
// note: s->nodeGrpFreq is raised to a power of 2, to avoid modulo operator
1732+
//note: maybe nodeGrpFreq should be a global readonly (or member of some globalParams group), to avoid "s->"
17321733
{
17331734
msg = CmiGetNonLocalNodeQ();
17341735
if (NULL != msg) return msg;

0 commit comments

Comments
 (0)