Subject: Re: Tcl 8.2.3, Threads, HP-UX 10.20 - DN [1]
csijgd@cs.com (CSi JGD) - 24 Jan 2000 - comp.lang.tcl
> >David Woodbury wrote: >> Which threading package should I use for Tcl 8.2.3 and HP-UX 10.20. >> I've been trying DCE threads without much luck. Is there a separate >> distribution I need to obtain from HP? > >Tcl assumes standard pthreads (POSIX threads), ones that work. >It is possible to swap out the threading model, but it's not >recommended unless you are familiar with threading models. > Hello, HP10 uses an early form of pthreads, often called "Draft4". It's a library implementation of threads, i.e., the threads are not actually scheduled by the kernel which can lead to poor performance in some I/O-bound applications. Anyway, you can use threaded Tcl8.2.3 with HP10 by replacing the Tclp thread routines directly. The AOLserver Web server does this and the code is available in OpenSource for you to compare. Info at: http://www.aolserver.com Check out the file nsd/tclNsThread.c which replaces tcl8.2.3/unix/tclUnixThrd.c. -Jim
Last modified
2000-02-10
2000-02-10
(195.108.246.50)
Note: you are looking at
the snapshot of an old wiki
- much of this information
is likely to be very outdated
