Subject | pthread fb 1.0.3 |
---|---|
Author | Kurt Minder |
Post date | 2004-02-02T17:11:37Z |
I using qtthreads (or other pthread based) and the libgds.so in one app.
pthread_create() results in a zombie an blocks the app.
class A : public QThread{
virtual void run(){
cout << "a:run()" << endl;
}
};
int main(int argc, char *argv[]){
A aA;
aA.start();
//Db Connecten
ISC_STATUS state[20];
isc_db_handle database;
isc_attach_database(state, 0, ....);
....
return 0;
}
I seems to a linking problem since i get the output of the thread "a:run()"
when i do not link (and compile) with the libgds.so
Using gcc 2.95.3
Linkerflags: -lqte-mt -lgds -lcrypt
Do you have any hints how to make the two libs work together?
Regards
pthread_create() results in a zombie an blocks the app.
class A : public QThread{
virtual void run(){
cout << "a:run()" << endl;
}
};
int main(int argc, char *argv[]){
A aA;
aA.start();
//Db Connecten
ISC_STATUS state[20];
isc_db_handle database;
isc_attach_database(state, 0, ....);
....
return 0;
}
I seems to a linking problem since i get the output of the thread "a:run()"
when i do not link (and compile) with the libgds.so
Using gcc 2.95.3
Linkerflags: -lqte-mt -lgds -lcrypt
Do you have any hints how to make the two libs work together?
Regards