Guest_imported
New member
- Jan 1, 1970
- 0
hi all experts,
i am now having a project which related to some unix programming and a need in use of thread.
i try the simple code in the following under both linux redhat 6.2, and unix solaris 7
however, i can just get the response from linux but not solaris, can anyone help me?
#include <stdio.h>
#include <pthread.h>
void print_message_function(void *ptr);
main()
{
pthread_t thread1, thread2;
char *message1 =
i am now having a project which related to some unix programming and a need in use of thread.
i try the simple code in the following under both linux redhat 6.2, and unix solaris 7
however, i can just get the response from linux but not solaris, can anyone help me?
#include <stdio.h>
#include <pthread.h>
void print_message_function(void *ptr);
main()
{
pthread_t thread1, thread2;
char *message1 =