Article View: gnu.gcc.help
Article #49979Using errno with solaris threads
From: Vijay Baliga
Date: Thu, 02 Dec 1993 17:18
Date: Thu, 02 Dec 1993 17:18
19 lines
1266 bytes
1266 bytes
Hi, I am using solaris threads and want to be able to access the thread specific errno. We have gcc 2.3.3 and gcc 2.5.5. Sun suggests that I declare errno as: #pragma unshared errno extern int errno; However, gcc does not recognize #pragma unshared. So how can I put the errno in thread-local storage? Thanks for any help! $ uname -a SunOS phish 5.2 Generic sun4m sparc Vijay -- The Center for High Performace Computing vijay@chpc.org 293 Boston Post Road West 28 Center Steet Marlborough, MA 01752 Sudbury, MA 01776 (508) 624-7400 x639 (508) 443-0629
Technical Details
Message-ID:
<1993Dec2.171842.1988@chpc.org>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!noc.near.net!chpc.chpc.org!vijayShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,bbce2b16a2f8a2a,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-12-02 09:49:31 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!noc.near.net!chpc.chpc.org!vijay From: vijay@chpcchpc.org (Vijay Baliga) Subject: Using errno with solaris threads Message-ID: <1993Dec2.171842.1988@chpc.org> Sender: vijay@chpc (Vijay Baliga) Nntp-Posting-Host: chpc.chpc.org Cc: vijay, lstabile Organization: Center For High Perf. Computing of WPI; Marlboro Ma Date: Thu, 2 Dec 1993 17:18:42 GMT Lines: 19