From: nanakos@wired-net.gr
To: "Lejanson C. Go" <lejanson@ntsp.nec.co.jp>
Cc: linux-c-programming@vger.kernel.org
Subject: Re: about posix threads.
Date: Tue, 20 May 2003 11:37:49 +0300 (EEST) [thread overview]
Message-ID: <2746.195.251.244.232.1053419869.squirrel@webmail.wired-net.gr> (raw)
In-Reply-To: <3EC9C22B.9090100@hq.ntsp.nec.co.jp>
>
> i made a pthread program and i am quite puzzled why my program
> spawns 4 threads.. when i view it in linux console.
>
> i used 'ps -ax | grep myprog' command to get the processes for
> my application and to my surprise it spawns 4 threads.. when i
> only expected 3.. one for main, one for event, and one for recvdata.
>
> spawnXXXXXX functions create new threads..
>
> i really need ur help. can anyone tell me why this occur?
>
> thanks a lot...
>
>
> lejanson
>
Can you provide us with all the source code????
> -
> To unsubscribe from this list: send the line "unsubscribe
> linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
next prev parent reply other threads:[~2003-05-20 8:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-20 5:50 about posix threads Lejanson C. Go
2003-05-20 8:37 ` nanakos [this message]
2003-05-20 16:12 ` Glynn Clements
-- strict thread matches above, loose matches on Subject: below --
2003-05-20 6:51 about Posix Threads Lejanson C. Go
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2746.195.251.244.232.1053419869.squirrel@webmail.wired-net.gr \
--to=nanakos@wired-net.gr \
--cc=lejanson@ntsp.nec.co.jp \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).