]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/smart_ptr/test/lw_thread_test.cpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / libs / smart_ptr / test / lw_thread_test.cpp
index 1da8ed50a48f92d8543ed31780e265f8450bf8d5..1fe2274938605113e5f2955da1e248952d0a3445 100644 (file)
@@ -18,7 +18,7 @@ void f()
 int main()
 {
     int const N = 4;
-    pthread_t th[ N ] = {};
+    boost::detail::lw_thread_t th[ N ] = {};
 
     for( int i = 0; i < N; ++i )
     {
@@ -27,7 +27,7 @@ int main()
 
     for( int i = 0; i < N; ++i )
     {
-        pthread_join( th[ i ], 0 );
+        boost::detail::lw_thread_join( th[ i ] );
     }
 
     BOOST_TEST_EQ( count, N );