Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove 'writeln' statements #68

Closed
LouisJenkinsCS opened this issue Sep 27, 2019 · 1 comment
Closed

Remove 'writeln' statements #68

LouisJenkinsCS opened this issue Sep 27, 2019 · 1 comment
Assignees

Comments

@LouisJenkinsCS
Copy link
Collaborator

chgl/src/PropertyMaps.chpl

Lines 325 to 360 in 45cee0e

proc getPropertyAsync(property : propertyType, param acquireLock = true) : unmanaged PropertyHandle {
const loc = Locales[mapper(property, Locales)];
var handle = new unmanaged PropertyHandle();
if loc == here {
if acquireLock then this.lock.acquire();
if !this.keys.contains(property) {
writeln("SetAggregator Global Size: ", setAggregator.sizeGlobal());
coforall loc in Locales do on loc {
var _this = getPrivatizedInstance();
if _this.keys.contains(property) {
writeln(here, " contains ", property);
} else {
writeln(here, " does not contain ", property);
}
}
if this.keys.contains(property) {
writeln("Key is there now...");
}
}
handle.set(this.values[property]);
if acquireLock then this.lock.release();
} else {
var buf = getAggregator.aggregate((property, handle), loc);
if buf != nil {
terminationDetector.started(1);
begin with (in buf, in loc) {
_flushGetAggregatorBuffer(buf, loc, acquireLock);
terminationDetector.finished(1);
}
}
}
return handle;
}

@LouisJenkinsCS LouisJenkinsCS self-assigned this Sep 27, 2019
@marcinz
Copy link
Collaborator

marcinz commented Sep 27, 2019

Done.

@marcinz marcinz closed this as completed Sep 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants