Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-02-2011, 08:19 AM   #1
Registered: Nov 2006
Location: Pune
Posts: 34

Rep: Reputation: 0
Linux thread problem

Hi All,

I write a program, in which I created two thread using pthread_create.
The two thread and main process all are running in while(1) loop.

Every thread print some debug messages on console.
Every thing work fine for some time.
After some time first thread stop printing messages on console.
I want to debug this problem.
Is any buddy help me to resolve this problem.

Thanks in advance.
Old 09-02-2011, 08:22 AM   #2
Registered: Apr 2010
Distribution: Fedora
Posts: 109
Blog Entries: 4

Rep: Reputation: 34
If you can put your code here... ?


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
worker thread queue (or thread pool) in C under linux? matth45 Programming 7 03-13-2012 08:19 AM
Linux Thread Creation Problem ravi.srivastava Programming 6 11-14-2007 03:22 AM
Problem about process vs. thread in Linux scanner Linux - Newbie 7 07-10-2006 12:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:06 AM.

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