Hi all,
I don't know much about pointers, so please, what am I doing wrong?!
I have a class B:
1 2 3 4 5 6 7 8 9 10 11 12 13
vector<int> lstInt;
void run() {
// here all my thread process
}
string test() {
return"c++";
}
vector<int> getList() {
return lstInt;
}
And a class A:
1 2 3 4 5 6 7 8 9
classB *myclass;
// if I try:
myclass->test();
// it returns me the string "c++"
//but if I do:
myclass->getList();
// it returns me exception (No source available for "__kernel_vsyscall() at 0x12d422") and kill my software
myclass have a instance.
The problem is that i can't access any variable of class B from class A, I tried to do something with wait and notify, but the same error occurred, the same error (No source available ....).