From owner-freebsd-hackers Tue Jun 19 11:41:16 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mecenia.org (210-232.sh.cgocable.ca [24.226.210.232]) by hub.freebsd.org (Postfix) with ESMTP id EFDE637B401 for ; Tue, 19 Jun 2001 11:41:13 -0700 (PDT) (envelope-from ian@mecenia.org) Received: from mecenia.org (monk.mecenia.org [192.168.8.2]) by mecenia.org (8.11.3/8.11.3) with ESMTP id f5JIeMO17732 for ; Tue, 19 Jun 2001 14:40:22 -0400 (EDT) (envelope-from ian@mecenia.org) Message-ID: <3B2F9CC5.90607@mecenia.org> Date: Tue, 19 Jun 2001 14:41:09 -0400 From: Ian Trudel Organization: Mecenia Organization User-Agent: Mozilla/5.0 (X11; U; FreeBSD 4.3-RELEASE i386; en-US; rv:0.9.1) Gecko/20010615 X-Accept-Language: fr-CA, en MIME-Version: 1.0 To: hackers@FreeBSD.ORG Subject: pthread_attr_setscope(3) problem. Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, while porting a software to FreeBSD, I came across a problem with pthread_attr_setscope(3). The software sets PTHREAD_SCOPE_SYSTEM attribute. From the pthread_attr_setscope(3) implementation file, a comment says that this attribute is unsupported (though the code doesn't show that). Meanwhile, I've tried unsuccesfully other attributes. Looking for futher insight, I have then wrote a little and simpler program to test. Every attributes will just report ENOTSUP. I would like to get some inputs about how to fix that, if any possible. Plus, I would like to know how does one detect whether or not that function can be used. regards, ian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message