* RE: pthread uClibc
@ 2004-08-05 13:18 ` akshay
0 siblings, 0 replies; 8+ messages in thread
From: akshay @ 2004-08-05 13:18 UTC (permalink / raw)
To: linux-mips
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes does not come back and when I hit enter on screen, I see following
message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: pthread uClibc
@ 2004-08-05 13:18 ` akshay
0 siblings, 0 replies; 8+ messages in thread
From: akshay @ 2004-08-05 13:18 UTC (permalink / raw)
To: linux-mips
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes does not come back and when I hit enter on screen, I see following
message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: pthread uClibc
@ 2004-08-05 13:19 ` akshay
0 siblings, 0 replies; 8+ messages in thread
From: akshay @ 2004-08-05 13:19 UTC (permalink / raw)
To: linux-mips
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes does not come back and when I hit enter on screen, I see following
message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: pthread uClibc
@ 2004-08-05 13:19 ` akshay
0 siblings, 0 replies; 8+ messages in thread
From: akshay @ 2004-08-05 13:19 UTC (permalink / raw)
To: linux-mips
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes does not come back and when I hit enter on screen, I see following
message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
* pthread uClibc
@ 2004-08-06 4:13 ` akshay
0 siblings, 0 replies; 8+ messages in thread
From: akshay @ 2004-08-06 4:13 UTC (permalink / raw)
To: linux-mips
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes in infinite loop and never comes back.
Though when I hit enter on console, I see following message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Here is the code for my program.
==============================================================
#include <stdio.h>
#include <pthread.h>
void print_message_function( void *ptr );
pthread_t thread1;
char *message1 = "Thread 1";
main()
{
int iret1, iret2;
/* Create independant threads each of which will execute function */
iret1 = pthread_create( &thread1, NULL, (void*)&print_message_function,
(v
oid*) message1);
printf("threads created ....\n");
/* Wait till threads are complete before main continues. Unless we */
/* wait we run the risk of executing an exit which will terminate */
/* the process and all threads before the threads have completed. */
pthread_join( thread1, NULL);
printf("Thread 1 returns: %d\n",iret1);
exit(0);
}
void print_message_function( void *ptr )
{
char *message;
message = (char *) ptr;
printf("%s \n", message);
}
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
* pthread uClibc
@ 2004-08-06 4:13 ` akshay
0 siblings, 0 replies; 8+ messages in thread
From: akshay @ 2004-08-06 4:13 UTC (permalink / raw)
To: linux-mips
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes in infinite loop and never comes back.
Though when I hit enter on console, I see following message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Here is the code for my program.
==============================================================
#include <stdio.h>
#include <pthread.h>
void print_message_function( void *ptr );
pthread_t thread1;
char *message1 = "Thread 1";
main()
{
int iret1, iret2;
/* Create independant threads each of which will execute function */
iret1 = pthread_create( &thread1, NULL, (void*)&print_message_function,
(v
oid*) message1);
printf("threads created ....\n");
/* Wait till threads are complete before main continues. Unless we */
/* wait we run the risk of executing an exit which will terminate */
/* the process and all threads before the threads have completed. */
pthread_join( thread1, NULL);
printf("Thread 1 returns: %d\n",iret1);
exit(0);
}
void print_message_function( void *ptr )
{
char *message;
message = (char *) ptr;
printf("%s \n", message);
}
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: pthread uClibc
@ 2004-08-06 6:30 ` Ratin Kumar
0 siblings, 0 replies; 8+ messages in thread
From: Ratin Kumar @ 2004-08-06 6:30 UTC (permalink / raw)
To: 'akshay', linux-mips
It might make a bit more sense if you talk a bit about your setup/toolchain
(cross??) and version of libraries used....
-----Original Message-----
From: linux-mips-bounce@linux-mips.org
[mailto:linux-mips-bounce@linux-mips.org] On Behalf Of akshay
Sent: Thursday, August 05, 2004 9:13 PM
To: linux-mips@linux-mips.org
Subject: pthread uClibc
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes in infinite loop and never comes back.
Though when I hit enter on console, I see following message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Here is the code for my program.
==============================================================
#include <stdio.h>
#include <pthread.h>
void print_message_function( void *ptr );
pthread_t thread1;
char *message1 = "Thread 1";
main()
{
int iret1, iret2;
/* Create independant threads each of which will execute function */
iret1 = pthread_create( &thread1, NULL, (void*)&print_message_function,
(v
oid*) message1);
printf("threads created ....\n");
/* Wait till threads are complete before main continues. Unless we */
/* wait we run the risk of executing an exit which will terminate */
/* the process and all threads before the threads have completed. */
pthread_join( thread1, NULL);
printf("Thread 1 returns: %d\n",iret1);
exit(0);
}
void print_message_function( void *ptr )
{
char *message;
message = (char *) ptr;
printf("%s \n", message);
}
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: pthread uClibc
@ 2004-08-06 6:30 ` Ratin Kumar
0 siblings, 0 replies; 8+ messages in thread
From: Ratin Kumar @ 2004-08-06 6:30 UTC (permalink / raw)
To: 'akshay', linux-mips
It might make a bit more sense if you talk a bit about your setup/toolchain
(cross??) and version of libraries used....
-----Original Message-----
From: linux-mips-bounce@linux-mips.org
[mailto:linux-mips-bounce@linux-mips.org] On Behalf Of akshay
Sent: Thursday, August 05, 2004 9:13 PM
To: linux-mips@linux-mips.org
Subject: pthread uClibc
Hi,
I am trying to use pthread on mips based platform.
I have simple program to just create pthreads and when I run my program, it
goes in infinite loop and never comes back.
Though when I hit enter on console, I see following message on console.
pt: assertion failed in manager.c:154.
pt: assertion failed in manager.c:193.
Can someone plz help me here .
Here is the code for my program.
==============================================================
#include <stdio.h>
#include <pthread.h>
void print_message_function( void *ptr );
pthread_t thread1;
char *message1 = "Thread 1";
main()
{
int iret1, iret2;
/* Create independant threads each of which will execute function */
iret1 = pthread_create( &thread1, NULL, (void*)&print_message_function,
(v
oid*) message1);
printf("threads created ....\n");
/* Wait till threads are complete before main continues. Unless we */
/* wait we run the risk of executing an exit which will terminate */
/* the process and all threads before the threads have completed. */
pthread_join( thread1, NULL);
printf("Thread 1 returns: %d\n",iret1);
exit(0);
}
void print_message_function( void *ptr )
{
char *message;
message = (char *) ptr;
printf("%s \n", message);
}
Thanks,
Akshay
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-08-06 6:30 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-05 13:18 pthread uClibc akshay
2004-08-05 13:18 ` akshay
-- strict thread matches above, loose matches on Subject: below --
2004-08-05 13:19 akshay
2004-08-05 13:19 ` akshay
2004-08-06 4:13 akshay
2004-08-06 4:13 ` akshay
2004-08-06 6:30 ` Ratin Kumar
2004-08-06 6:30 ` Ratin Kumar
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.