caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Chet Murthy <murthy.chet@gmail.com>
To: oliver <oliver@first.in-berlin.de>
Cc: OCaml List <caml-list@inria.fr>
Subject: Re: [Caml-list] ocaml systhreads condition variables: no condvar_timedwait?
Date: Mon, 11 Mar 2013 16:11:32 -0700	[thread overview]
Message-ID: <2278470.xAKQ5esFd6@groupon> (raw)
In-Reply-To: <20130311230945.GA3230@siouxsie>


Oops, sorry, yes, I meant pthread_cond_timedwait().  In any case, it's
not wrappered in Ocaml systhreads, though clearly from the
implementation of pthread_cond_wait() (well, "st_condvar_wait" in
st_posix.h), it's trivial to add.

Just wondering why it was omitted, is all.

--chet--

On Tuesday, March 12, 2013 12:09:45 AM oliver wrote:
> On Mon, Mar 11, 2013 at 03:17:13PM -0700, Chet Murthy wrote:
> > I'm just starting to use Ocaml threads, and notice that there's no
> > equivalent of pthread_condvar_timedwait.
> 
> [...]
> 
> I looked up this function and found nothing.
> It seems this is your personal phantasy function,
> or possibly just a typo.
> 
> Possibly you mean
>   pthread_cond_timedwait()
> 
> Ciao,
>    Oliver

  reply	other threads:[~2013-03-11 23:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 22:17 Chet Murthy
2013-03-11 23:09 ` oliver
2013-03-11 23:11   ` Chet Murthy [this message]
2013-03-12  0:25     ` Markus Mottl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2278470.xAKQ5esFd6@groupon \
    --to=murthy.chet@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=oliver@first.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).