]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/tsan/sunrpc.cc
1 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
11 xdrmem_create(&xdrs
, buf
, sizeof(buf
), XDR_ENCODE
);
16 int main(int argc
, char *argv
[]) {
18 pthread_create(&th
[0], 0, thr
, 0);
19 pthread_create(&th
[1], 0, thr
, 0);
20 pthread_join(th
[0], 0);
21 pthread_join(th
[1], 0);