Sign in
chromium
/
external
/
github.com
/
kripken
/
emscripten
/
refs/heads/multithreaded-server
/
.
/
tests
/
pthread
/
test_pthread_equal.cpp
blob: c17c5cfd8e4c1575abe37a5fe40460d5ed4f0238 [
file
] [
log
] [
blame
] [
edit
]
#include
<stdio.h>
#include
<thread>
int
main
()
{
int
x
=
std
::
this_thread
::
get_id
()
==
std
::
this_thread
::
get_id
();
printf
(
"is this thread the same as this thread? %d\n"
,
x
);
}