Searched refs:COMPARE_AND_SWAP_INT (Results 1 – 7 of 7) sorted by relevance
/dports/lang/swi-pl/swipl-8.2.3/src/ |
H A D | pl-inline.h | 160 COMPARE_AND_SWAP_INT(int *at, int from, int to) in COMPARE_AND_SWAP_INT() function 190 #define COMPARE_AND_SWAP_INT(ptr,o,n) COMPARE_AND_SWAP(ptr,o,n) macro
|
H A D | pl-atom.c | 1024 if ( !COMPARE_AND_SWAP_INT(&GD->atoms.gc_active, FALSE, TRUE) ) in pl_garbage_collect_atoms()
|
H A D | pl-thread.c | 2464 COMPARE_AND_SWAP_INT((int*)&info->status, (int)status, (int)PL_THREAD_JOINED) ) 5543 { if ( COMPARE_AND_SWAP_INT(&GC_starting, FALSE, TRUE) ) in GCthread()
|
H A D | pl-wam.c | 310 } while ( !COMPARE_AND_SWAP_INT(&ld->alerted, alerted, alerted|ALERT_SIGNAL) ); in raiseSignal()
|
H A D | pl-tabling.c | 171 int rc = COMPARE_AND_SWAP_INT(&atrie->tid, mytid, 0); in drop_trie() 182 int rc = COMPARE_AND_SWAP_INT(&atrie->tid, 0, tid); in take_trie()
|
H A D | pl-proc.c | 2411 COMPARE_AND_SWAP_INT(&GD->clauses.cgc_active, FALSE, TRUE) ) in pl_garbage_collect_clauses()
|
/dports/lang/swi-pl/swipl-8.2.3/src/os/ |
H A D | pl-table.c | 134 { return COMPARE_AND_SWAP_INT(&ht->cleanup, exp, cleanup); in htable_cas_cleanup()
|