mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Ricardo J. Rodríguez" <ricardo.rdez@gmail.com>
To: "Alan Cox" <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Semaphores with timeouts
Date: Thu, 14 Feb 2008 14:34:37 +0100	[thread overview]
Message-ID: <9a8e2be0802140534y6e013d89k908154456e5d20b4@mail.gmail.com> (raw)
In-Reply-To: <20080214001454.4e8cb0eb@core>

Hi Alan,

> It's certainly possible to add one but the first question would be "why
> do you need it - what sort of API are you trying to build"
>

The protocol works in adhoc wireless mode, so when I send a packet,
I've to wait a  while before I send it again, like TCP timeout
retransmistions work.

Anyway, I've though maybe I can use SIGALRM to know when it expired
and do whatever...

-- 
Ricardo J. Rodríguez
www.deathhc.tk

#329385 | [Registered Linux User]

      reply	other threads:[~2008-02-14 13:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-14  0:08 Ricardo J. Rodríguez
2008-02-14  0:14 ` Alan Cox
2008-02-14 13:34   ` Ricardo J. Rodríguez [this message]

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=9a8e2be0802140534y6e013d89k908154456e5d20b4@mail.gmail.com \
    --to=ricardo.rdez@gmail.com \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®