User profile: cotro

User info
User name:cotro
History
Joined:
Number of posts:32
Latest posts:

Operator overloading threevariables without tmp variable
Ok, I am able to compile it and run it (after adding a "return color" and swapping the blue and gree...

Passing funcion to pthread_create
Thanks, I tried this: [code] pthread_t threads [2]; thread_data td_array [2]; Filelist fl; ...

Passing funcion to pthread_create
It seems to be working now. Another problem unfortunately came up. I modified the code of the test ...

Passing funcion to pthread_create
Right, but how can I accomplish it? I threw thread td inside the loop [code]for (int i=0; i<2; i++...

Passing funcion to pthread_create
Thanks for reply, it worked. My code currently is: on main.cpp [code]thread_data td; for (int i...