This is an archive of the discontinued LLVM Phabricator instance.

Add NetBSD support in test/tsan/thread_name*.cc
ClosedPublic

Authored by krytarowski on Aug 30 2017, 12:27 PM.

Details

Summary

A snipped from the documentation of thread_setname_np(3):

NAME

pthread_getname_np - get and set descriptive name of a thread

LIBRARY

POSIX Threads Library (libpthread, -lpthread)

SYNOPSIS

#include <pthread.h>

int
pthread_getname_np(pthread_t thread, char *name, size_t len);

int
pthread_setname_np(pthread_t thread, const char *name, void *arg);

Sponsored by <The NetBSD Foundation>

Diff Detail

Repository
rL LLVM

Event Timeline

krytarowski created this revision.Aug 30 2017, 12:27 PM
krytarowski edited the summary of this revision. (Show Details)Aug 30 2017, 12:28 PM
dvyukov accepted this revision.Aug 30 2017, 12:30 PM
This revision is now accepted and ready to land.Aug 30 2017, 12:30 PM
krytarowski closed this revision.Aug 30 2017, 12:41 PM