Ignore:
Timestamp:
Jan 13, 2020, 12:49:14 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
768bd556
Parents:
a21dec4
Message:

add documentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/basic/tls_fetch_add.c

    ra21dec4 r525b5ef  
    33
    44#include "bench.h"
     5
     6// Does not do a fetch & add. It mimics the cfa protocol to disable interrupts locally, by writing true or false to a
     7// thread_local Boolean. This means the entire protocol is just to "mov" instructions making it extremely cheap.
    58
    69#define thread_local _Thread_local
Note: See TracChangeset for help on using the changeset viewer.