LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-20-2002, 07:32 PM   #1
ssuman
LQ Newbie
 
Registered: Apr 2001
Location: Dallas,TX,USA
Posts: 4

Rep: Reputation: 0
Thread Program Not Working


Is there any problem with running thread programs on Linux 2.2.16-22.
When I run the proram on this Redhat Machine the pthread_create call does not seem to call the function passed as the argument in the call.

pthread_create(&runServer,NULL,MYSERVER,NULL);

The execution stops at the above line. Where as if I run the exact same code on another Linux Machine 2.4.7-10, it works fine. What could be the problem

Any Comments???
Thx.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
c thread program produces no output kpachopoulos Programming 7 10-14-2005 09:11 PM
program with thread and time melinda_sayang Programming 2 05-28-2005 04:16 AM
fully statically linked posix thread program on PPC mmiglia Linux - Software 0 09-22-2004 07:06 AM
How to program thread in Unix OS?? lamvd Programming 2 01-27-2003 06:14 PM
How to program thread in Linux??? lamvd Linux - Newbie 2 01-27-2003 07:51 AM


All times are GMT -5. The time now is 01:21 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration