From owner-freebsd-hackers@FreeBSD.ORG Mon Jun 27 03:04:44 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 846B916A41F for ; Mon, 27 Jun 2005 03:04:44 +0000 (GMT) (envelope-from fbsd.hackers@gmail.com) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03CAF43D5C for ; Mon, 27 Jun 2005 03:04:42 +0000 (GMT) (envelope-from fbsd.hackers@gmail.com) Received: by rproxy.gmail.com with SMTP id i8so793772rne for ; Sun, 26 Jun 2005 20:04:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=s1SuBGh+4jce2PkloIWVca1t1K/Q/wqq+itxFX70JC3hZoaoJgNv85+4+aP8xSVPqo19rH4JXZfKml+fnl1wCjY4Hn6AmsYDExP13rVkXBapwADSmfLTvyK2+5eEGLLCzywofMLo2fcR5rPPx0GMwnPo0quGyKe3wUzDQibVo8k= Received: by 10.38.79.39 with SMTP id c39mr1780720rnb; Sun, 26 Jun 2005 20:04:41 -0700 (PDT) Received: by 10.38.11.46 with HTTP; Sun, 26 Jun 2005 20:04:41 -0700 (PDT) Message-ID: Date: Sun, 26 Jun 2005 23:04:41 -0400 From: Pablo Mora To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: problem handling POSIX thread on FreeBSD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pablo Mora List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 03:04:44 -0000 /* file: taller.c */ int main() { .... if(pthread_attr_setscope(&attr, PTHREAD_SCOPE_SYSTEM) !=3D 0) /* handler */ .... } $ gcc taller.c -pthread $ ./a.out pthread_attr_setscope: Unknown error: 0 $ PTHREAD_SCOPE_SYSTEM fail on freebsd ? help me please...=20 very thanks... --=20 Concepci=F3n, Chile.