Home | History | Annotate | Download | only in go

Lines Matching refs:ThreadState

91 static ThreadState *main_thr;
94 static ThreadState *AllocGoroutine() {
95 ThreadState *thr = (ThreadState*)internal_alloc(MBlockThreadContex,
96 sizeof(ThreadState));
101 void __tsan_init(ThreadState **thrp, void (*cb)(SymbolizeContext *cb)) {
103 ThreadState *thr = AllocGoroutine();
111 ThreadState *thr = main_thr;
120 void __tsan_read(ThreadState *thr, void *addr, void *pc) {
124 void __tsan_read_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) {
132 void __tsan_write(ThreadState *thr, void *addr, void *pc) {
136 void __tsan_write_pc(ThreadState *thr, void *addr, uptr callpc, uptr pc) {
144 void __tsan_read_range(ThreadState *thr, void *addr, uptr size, uptr pc) {
148 void __tsan_write_range(ThreadState *thr, void *addr, uptr size, uptr pc) {
152 void __tsan_func_enter(ThreadState *thr, void *pc) {
156 void __tsan_func_exit(ThreadState *thr) {
166 void __tsan_go_start(ThreadState *parent, ThreadState **pthr, void *pc) {
167 ThreadState *thr = AllocGoroutine();
173 void __tsan_go_end(ThreadState *thr) {
178 void __tsan_acquire(ThreadState *thr, void *addr) {
182 void __tsan_release(ThreadState *thr, void *addr) {
186 void __tsan_release_merge(ThreadState *thr, void *addr) {
190 void __tsan_finalizer_goroutine(ThreadState *thr) {
194 void __tsan_mutex_before_lock(ThreadState *thr, uptr addr, uptr write) {
197 void __tsan_mutex_after_lock(ThreadState *thr, uptr addr, uptr write) {
204 void __tsan_mutex_before_unlock(ThreadState *thr, uptr addr, uptr write) {