Hi everyone,
In my c++ code i need to access a variable from the main() ,which is populated in another pthread.What could be the better approach?I tried using shared memory but getting some issues with lock.
Getting errors of sort
"Pure virtual method called"
"unable to unlock the buffer"
"kernel errors"
Hope i gave enough info.
Thanks in advance.
Regards
tsai
In my c++ code i need to access a variable from the main() ,which is populated in another pthread.What could be the better approach?I tried using shared memory but getting some issues with lock.
Getting errors of sort
"Pure virtual method called"
"unable to unlock the buffer"
"kernel errors"
Hope i gave enough info.
Thanks in advance.
Regards
tsai
Comment