Closed Bug 18689 Opened 25 years ago Closed 25 years ago

Need to use NSPR threads on 10.20 instead of 10.20's DCE phtreads

Categories

(Core :: XPCOM, defect, P3)

HP
HP-UX
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jdunn, Assigned: jdunn)

References

Details

The current build on 10.20 relies on DCE pthreads which doesn't quite
work right...

Wan-Teh write:
The "pthreads" on HP-UX 10.20 are not true POSIX
threads but rather DCE threads.  It is a user-level
implementation and requires renaming a bunch of
system calls (adding a cma_ prefix, I remember) to
the modified versions that work with DCE threads.
If you use a system call that is not modified and renamed
to work with DCE threads, it may not work.

One option is to use NSPR's own user-level threads.
It may or may not work better.  Build NSPR with
CLASSIC_NSPR=1.
Blocks: 18687
Status: NEW → ASSIGNED
Building with CLASSIC_NSPR=1 has not solved the problem in my experience.  Do
you know of any documentation for CMA/DCE threads on 10.20?  I've not been able
to find it in HP's support site.  How about NSPR source code where you know
it works?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
to build NSPR threads currently (cls is working on configure for nspr)
export MOZILLA_CLIENT=1
cd nsprpub
gmake CLASSIC_NSPR=1

then run configure --with-nspr=<nspr_dir>
Moving all threading bugs to XPCOM. See bug 160356.
Component: Threading → XPCOM
You need to log in before you can comment on or make changes to this bug.