ext-cryptopp/TestPrograms/test_pthreads.cxx
2018-11-13 13:48:38 -05:00

16 lines
255 B
C++

#include <string>
#include <pthread.h>
void* function(void *ptr)
{
return 0;
}
int main(int argc, char* argv[])
{
pthread_t thread;
int ret = pthread_create(&thread, NULL, function, (void*)0);
pthread_join(thread, NULL);
return 0;
}