problem with pthread_kill()
- From: jlebra <jlebra yahoo fr>
- To: gtk-list gnome org
- Subject: problem with pthread_kill()
- Date: Thu, 7 Nov 2002 16:52:04 +0100 (CET)
Hello,
I have one problem with the pthread_kill() function.
When I call it my program crash!
I use this function like this :
---------
static int num_thread;
pthread_t new_thread;
int main(int argc, char* argv[])
{
...
// Just for a test
num_thread; = pthread_create(&new_thread, NULL,
TestTpsReaction, NULL);
pthread_kill(new_thread, SIGINT);
gdk_threads_enter();
gtk_main();
gdk_threads_leave();
return 0;
}
-------
Why my application crash???
Have you an idea?
Thanks.
=====
oO0 A + Ju 0Oo
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]