Re: Semaphores with timeouts

From: Ricardo J. Rodríguez
Date: Thu Feb 14 2008 - 08:34:52 EST


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]
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/