C
C C++ C++
Hi All,
I am c++ beginner..
I have thread create function like this
pthread_create(&ThreadA,NULL,threadWork::requestThread,(void
*)&ResultSet); // <--- ResultSet is hasp_map with around 10 key-values
in it.
in threadWork.cc member function is defined
void * threadWork::requestThread(void *ResultSet)
{
cout << typeid(ResultSet).name() << ResultSet<<endl; // <<------ its
printing void * which is correct, how can i get my hash_map and its
values back ?
}
Please guide.
Regards,
-MA
I am c++ beginner..
I have thread create function like this
pthread_create(&ThreadA,NULL,threadWork::requestThread,(void
*)&ResultSet); // <--- ResultSet is hasp_map with around 10 key-values
in it.
in threadWork.cc member function is defined
void * threadWork::requestThread(void *ResultSet)
{
cout << typeid(ResultSet).name() << ResultSet<<endl; // <<------ its
printing void * which is correct, how can i get my hash_map and its
values back ?
}
Please guide.
Regards,
-MA