projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove gettid warning
[lttng-ust.git]
/
include
/
lttng
/
ust-tid.h
diff --git
a/include/lttng/ust-tid.h
b/include/lttng/ust-tid.h
index c6819f25a734d860c1e9cfcc603700b94871ff30..57272db813fd99c79f85bc502af46c99f4e3acd8 100644
(file)
--- a/
include/lttng/ust-tid.h
+++ b/
include/lttng/ust-tid.h
@@
-34,7
+34,7
@@
static inline pid_t gettid(void)
#include <sys/types.h>
#include <unistd.h>
#include <sys/types.h>
#include <unistd.h>
-#warning "use pid as tid"
+/* Fall-back on getpid for tid if not available. */
static inline pid_t gettid(void)
{
return getpid();
static inline pid_t gettid(void)
{
return getpid();
This page took
0.02301 seconds
and
4
git commands to generate.