Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S270314AbTGRTWv (ORCPT ); Fri, 18 Jul 2003 15:22:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S270319AbTGRTWv (ORCPT ); Fri, 18 Jul 2003 15:22:51 -0400 Received: from gateway-1237.mvista.com ([12.44.186.158]:63988 "EHLO hermes.mvista.com") by vger.kernel.org with ESMTP id S270314AbTGRTWu (ORCPT ); Fri, 18 Jul 2003 15:22:50 -0400 Subject: Re: pthread in linux From: Robert Love To: ghyan@cs.dartmouth.edu Cc: linux-kernel@vger.kernel.org In-Reply-To: <200307181437.01273.ghyan@cs.dartmouth.edu> References: <200307181437.01273.ghyan@cs.dartmouth.edu> Content-Type: text/plain Message-Id: <1058557385.6689.1810.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 (1.4.3-3) Date: 18 Jul 2003 12:43:05 -0700 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 617 Lines: 19 On Fri, 2003-07-18 at 11:37, Guanhua Yan wrote: > does anyone know the default time slice for each pthread execution in linux? > is it 1/60 sec? thanks! It is the same as the default process timeslice, and that would depend on your kernel version. Currently, in 2.6.0-test1, it ranges from 10ms to 200ms, depending on priority, with a default of 200ms. Robert Love - 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/