Don't use reserved word thread_local

This commit is contained in:
Edward J. Schwartz 2016-02-16 09:35:10 -05:00
parent 693272ecdf
commit 9b38690055

View File

@ -676,7 +676,7 @@ YAPPrologPredicate::YAPPrologPredicate(YAPAtom name,
YAPModule mod, YAPModule mod,
bool tabled, bool tabled,
bool logical_updates, bool logical_updates,
bool thread_local, bool is_thread_local,
bool sourced, bool sourced,
bool discontiguous, bool discontiguous,
bool multiFile, bool multiFile,
@ -689,7 +689,7 @@ YAPPrologPredicate::YAPPrologPredicate(YAPAtom name,
size_t mega_clause size_t mega_clause
) : YAPPredicate(name, arity, mod) { ) : YAPPredicate(name, arity, mod) {
if (!ap) return; if (!ap) return;
if (thread_local) { if (is_thread_local) {
if (ap->cs.p_code.NOfClauses || tabled) if (ap->cs.p_code.NOfClauses || tabled)
return; return;
ap->PredFlags |= (ThreadLocalPredFlag|LogUpdatePredFlag); ap->PredFlags |= (ThreadLocalPredFlag|LogUpdatePredFlag);