Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760941AbYHUS7A (ORCPT ); Thu, 21 Aug 2008 14:59:00 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754012AbYHUS6s (ORCPT ); Thu, 21 Aug 2008 14:58:48 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:46375 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751624AbYHUS6r (ORCPT ); Thu, 21 Aug 2008 14:58:47 -0400 Date: Thu, 21 Aug 2008 14:58:46 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Kernel development list Subject: How do I raise the priority of one thread in a multi-threaded process? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 516 Lines: 14 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. 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/