ext-cryptopp/TestPrograms/test_pthreads.cxx
2020-08-05 21:43:23 -04:00

16 lines
270 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;
}