/dports/lang/swi-pl/swipl-8.2.3/packages/semweb/ |
H A D | deferfree.h | 132 } while ( !COMPARE_AND_SWAP_PTR(&df->free_cells, o, list) ); in free_defer_list() 152 } while ( !COMPARE_AND_SWAP_PTR(&df->free_cells, c, c->next) ); in alloc_defer_cell() 172 } while ( !COMPARE_AND_SWAP_PTR(&df->freed, o, c) ); in deferred_free() 190 } while ( !COMPARE_AND_SWAP_PTR(&df->freed, o, c) ); in deferred_finalize() 206 { if ( o && COMPARE_AND_SWAP_PTR(&df->freed, o, NULL) ) in exit_scan()
|
H A D | memory.h | 98 COMPARE_AND_SWAP_PTR(void *at, void *from, void *to) in COMPARE_AND_SWAP_PTR() function
|
H A D | rdf_db.c | 1093 } while ( !COMPARE_AND_SWAP_PTR(&a->freelist, o, list) ); in free_array_slice() 1169 } while ( !COMPARE_AND_SWAP_PTR(&a->freelist, e, e->fnext) ); in register_triple()
|
/dports/lang/swi-pl/swipl-8.2.3/src/os/ |
H A D | pl-table.c | 122 { return COMPARE_AND_SWAP_PTR(&kvs->entries[idx].name, exp, name); in htable_cas_name() 126 { return COMPARE_AND_SWAP_PTR(&kvs->entries[idx].value, exp, value); in htable_cas_value() 130 { return COMPARE_AND_SWAP_PTR(&kvs->next, NULL, new_kvs); in htable_cas_new_kvs()
|
H A D | pl-prologflag.c | 918 if ( pool && !COMPARE_AND_SWAP_PTR(&GD->tabling.node_pool, NULL, pool) ) in set_prolog_flag_unlocked()
|
H A D | pl-file.c | 178 if ( COMPARE_AND_SWAP_PTR(&s->context, NULL, ctx) ) in getStreamContext() 288 if ( ctx && COMPARE_AND_SWAP_PTR(&s->context, ctx, NULL) ) in freeStream()
|
/dports/lang/swi-pl/swipl-8.2.3/src/ |
H A D | pl-inline.h | 143 COMPARE_AND_SWAP_PTR(void *at, void *from, void *to) in COMPARE_AND_SWAP_PTR() function 187 #define COMPARE_AND_SWAP_PTR(ptr,o,n) COMPARE_AND_SWAP(ptr,o,n) macro
|
H A D | pl-trie.c | 240 if ( it && COMPARE_AND_SWAP_PTR(&trie->indirects, it, NULL) ) in trie_empty() 371 if ( COMPARE_AND_SWAP_PTR(&p->children.any, children.any, NULL) ) in prune_node() 451 if ( COMPARE_AND_SWAP_PTR(&p->children.any, children.any, NULL) ) in prune_trie() 554 if ( COMPARE_AND_SWAP_PTR(&n->children.hash, children.hash, hnode) ) in insert_child() 593 if ( COMPARE_AND_SWAP_PTR(&n->children.key, NULL, child) ) in insert_child() 626 if ( !COMPARE_AND_SWAP_PTR(&trie->indirects, NULL, newtab) ) in trie_intern_indirect()
|
H A D | pl-indirect.c | 198 if ( !COMPARE_AND_SWAP_PTR(&buckets->buckets[ki], head, h) || in intern_indirect()
|
H A D | pl-funct.c | 165 if ( !( COMPARE_AND_SWAP_PTR(&table[v], head, f) && in lookupFunctorDef()
|
H A D | pl-atom.c | 425 if ( !COMPARE_AND_SWAP_PTR(&GD->atoms.array.blocks[idx], in allocateAtomBlock() 614 COMPARE_AND_SWAP_PTR(&table[v], head, a) && in lookupBlob() 864 { if ( !COMPARE_AND_SWAP_PTR(&table->table[a->hash_value & mask], a, a->next) ) in invalidateAtom()
|
H A D | pl-tabling.c | 2139 { if ( !COMPARE_AND_SWAP_PTR(&GD->tabling.node_pool, NULL, pool) ) in variant_table() 2167 if ( COMPARE_AND_SWAP_PTR(tp, NULL, t) ) in variant_table() 5500 if ( !COMPARE_AND_SWAP_PTR(&child->affected, NULL, t) ) in idg_add_child() 5508 if ( !COMPARE_AND_SWAP_PTR(&parent->dependent, NULL, t) ) in idg_add_child() 5532 if ( !COMPARE_AND_SWAP_PTR(&atrie->data.IDG, NULL, n) ) in idg_init_variant() 5671 if ( !COMPARE_AND_SWAP_PTR(&atrie->data.IDG, NULL, n) ) in idg_add_dyncall() 6407 if ( !COMPARE_AND_SWAP_PTR(&def->tabling, NULL, p) ) in tbl_set_predicate_attribute() 6774 if ( !COMPARE_AND_SWAP_PTR(&GD->tabling.waiting, NULL, ta) ) in register_waiting() 6789 if ( !COMPARE_AND_SWAP_PTR(&ta->blocks[idx], NULL, newblock-bs) ) in register_waiting()
|
H A D | pl-alloc.c | 216 } while( !COMPARE_AND_SWAP_PTR(list, o, c) ); in linger() 226 { while ( !COMPARE_AND_SWAP_PTR(p, c, c->next) ) in free_lingering()
|
H A D | pl-thread.c | 1208 } while ( h && !COMPARE_AND_SWAP_PTR(&gced_threads, h, h->next_free) ); in thread_gc_loop() 1251 } while( !COMPARE_AND_SWAP_PTR(&gced_threads, h, ref) ); in gc_thread() 1366 } while ( info && !COMPARE_AND_SWAP_PTR(&GD->thread.free, info, info->next_free) ); in alloc_thread() 2391 } while( !COMPARE_AND_SWAP_PTR(&GD->thread.free, freelist, info) ); in free_thread_info() 6913 if ( !COMPARE_AND_SWAP_PTR(&refs->blocks[idx], NULL, newblock-bs) ) in pushPredicateAccessObj()
|
H A D | pl-proc.c | 145 } while( !COMPARE_AND_SWAP_PTR(&m->lingering, o, c) ); in lingerDefinition() 1143 } while(!COMPARE_AND_SWAP_PTR(&GD->clauses.lingering, o, cref) ); in lingerClauseRef() 1156 !COMPARE_AND_SWAP_PTR(&GD->clauses.lingering, cref, NULL) ) in gcClauseRefs()
|
H A D | pl-index.c | 2541 if ( !COMPARE_AND_SWAP_PTR(&clist->args, NULL, ai) ) in bestHash()
|
H A D | pl-wam.c | 1402 if ( !COMPARE_AND_SWAP_PTR(&v->blocks[idx], NULL, newblock-bs) ) in localDefinition()
|
/dports/lang/swi-pl/swipl-8.2.3/packages/ssl/ |
H A D | ssl4pl.c | 280 COMPARE_AND_SWAP_PTR(void *at, void *from, void *to) in COMPARE_AND_SWAP_PTR() function 3581 if ( COMPARE_AND_SWAP_PTR(&root_cacert_stack, NULL, stack) ) in get_cacerts_roots_only()
|