First Commit
This commit is contained in:
15
externals/cryptopp/TestPrograms/test_pthreads.cpp
vendored
Normal file
15
externals/cryptopp/TestPrograms/test_pthreads.cpp
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user