Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 20th November 2006, 02:32 AM
ckmun81 Offline
Registered User
 
Join Date: Feb 2006
Posts: 1
pthread id and process id

I'm running a program on FC4 on dual core machine, two pthreads will be generated from the program, I wish to bind each pthread to each logical processor using sched_setaffinity(). But I noticed that this function will bind the process to the logical processor. But in NPTL, all members of a thread groups share the same PID. So is it possible to have different pid value represent a distinct pthread?
Reply With Quote
Reply

Tags
process, pthread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Display the pthread names? zi_au Using Fedora 2 12th March 2008 08:17 AM
Pthread issues TerjeG Using Fedora 1 18th February 2007 07:45 PM
pthread aggravation... Pazuzu Using Fedora 0 21st December 2006 05:21 PM
daemon system call & pthread dudelove Programming & Packaging 3 19th March 2006 07:18 PM
static linking pthread lib afeick Programming & Packaging 10 4th November 2005 01:18 PM


Current GMT-time: 07:41 (Tuesday, 21-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat