Article View: comp.sys.sun
Article #8508LWP library and g++
From: Seungjun Lee
Date: Mon, 10 Jun 1991 21:53
Date: Mon, 10 Jun 1991 21:53
18 lines
1302 bytes
1302 bytes
I'm implementing a process-oriented simulator in C++ using lwp(lightweight process) library from SUN, and I have a problem. I defined a task class and a scheduler with lwp primitives, and wrote a couple of test programs using those. The test programs compile under g++(1.37.1) and run successfully on a sun3. (sunOS 4.1.1) But when I try the same programs on a sparc station, they end up with segmentation faults. Is it the problem of LWP library with g++, or am I doing anything wrong? Could anybody help me out? Thanks. Is there any restriction in linking lwp library with C++ code on a sparc station? Could anybody help me out? Thanks in advance. Seungjun Lee University of California, Berkeley slee@saguaro.berkeley.edu
Technical Details
Message-ID:
<3765@brchh104.bnr.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-requestShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!cunews!bnrgate!brchh104!brchs1!bnr.ca!rice.edu!sun-spots-request From: slee@saguaro.Berkeley.EDU (Seungjun Lee) Newsgroups: comp.sys.sun Subject: LWP library and g++ Keywords: Miscellaneous Message-ID: <3765@brchh104.bnr.ca> Date: 10 Jun 91 21:53:00 GMT Sender: news@brchh104.bnr.ca Organization: Sun-Spots Lines: 19 Approved: Sun-Spots@rice.edu X-Original-Date: 5 Jun 91 17:30:25 GMT X-Sun-Spots-Digest: Volume 10, Issue 106, message 4 X-Note: Submissions: sun-spots@rice.edu, Admin: sun-spots-request@rice.edu