From: sean levy <snl@paneer.ndim.edrc.cmu.edu>
Subject: re: problem with posix thread library
Date: 1996/05/22 [thread overview]
Message-ID: <31A3591A.41C6@paneer.ndim.edrc.cmu.edu> (raw)
Deryk Barker wrote:
>
> Has anyone had any luck getting the pthreads library to run under
> Digital Unix on an Alpha?
[snip snip]
> void *sleeping (void *sleep_time){
> printf("thread %d sleeping %d seconds ...\n", pthread_self(), SLEEP_TIME);
^^ ^^^^^^^^^^^^^^
> sleep (10);
> printf("\nthread %d awakening\n", pthread_self());
^^ ^^^^^^^^^^^^^^
> }
>
under osf/1 [at least as of 3.2c, which is what i'm running] pthread_t is
a struct, not a pointer or integer. this is the worst of the interface
incompatibilities between dec's implementation and all others i've seen
so far, which don't hand structures around by value.
cheers,
--sean
--
sean levy, sr. research programmer, n-dim group, edrc, carnegie mellon univ.
<snl+@cmu.edu> | http://paneer.ndim.edrc.cmu.edu/Home/snl | +1 412 268 5215
next reply other threads:[~1996-05-22 4:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-05-22 4:00 sean levy [this message]
1996-05-23 4:00 ` problem with posix thread library Burkhard Neidecker-Lutz
-- strict thread matches above, loose matches on Subject: below --
1996-05-21 4:00 Problem with Posix " Deryk Barker
1996-05-22 4:00 ` Burkhard Neidecker-Lutz
1996-05-22 4:00 ` Charles M.Richmond
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox