LWP library and g++

Seungjun Lee slee at saguaro.Berkeley.EDU
Tue Jun 11 07:53:00 AEST 1991


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 at saguaro.berkeley.edu




More information about the Comp.sys.sun mailing list