login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
August
»
21
Re: How do I raise the priority of one thread in a multi-threaded process?
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Michal Hocko <mhocko@...>
To: Alan Stern <stern@...>
Cc: Kernel development list <linux-kernel@...>
Subject:
Re: How do I raise the priority of one thread in a multi-threaded process?
Date: Thursday, August 21, 2008 - 4:28 pm
On Thursday 21 August 2008 12:58:46 pm Alan Stern wrote:
quoted text
> Can anyone tell me how to raise the priority of one thread in a > multi-threaded process (using the pthreads library)? Neither nice(2) > nor setpriority(2) is appropriate since they affect the priority of an > entire process rather than a single thread.
Isn't pthread_setschedprio, what you are looking for?
quoted text
> > Thanks, > > Alan Stern > > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to
majordomo@vger.kernel.org
> More majordomo info at
http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at
http://www.tux.org/lkml/
-- Michal Hocko L3 team SUSE LINUX s.r.o. Lihovarska 1060/12 190 00 Praha 9 Czech Republic --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
How do I raise the priority of one thread in a multi-threade...
, Alan Stern
, (Thu Aug 21, 2:58 pm)
Re: How do I raise the priority of one thread in a multi-thr...
, Michal Hocko
, (Thu Aug 21, 4:28 pm)
Re: How do I raise the priority of one thread in a multi-thr...
, Alan Stern
, (Thu Aug 21, 5:04 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Michal Piotrowski
Re: [BUG] fs/xfs/xfs_bmap_btree.c:2312: error: 'b' undeclared (first use in this f...
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Paul Jackson
[PATCH 0/5 v2] x86 boot: various E820 & EFI related fixes - what changed in v2
git
:
openbsd-misc
:
linux-netdev
:
Paweł Staszewski
Re: rib_trie / Fix inflate_threshold_root. Now=15 size=11 bits
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: Data corruption issue with splice() on 2.6.27.10
Colocation donated by:
Who's online
There are currently
1 user
and
814 guests
online.
Online users
zeekec
Syndicate