Re: [PATCH] gw_thread_sleep return the sleep result
Alexander Malysh <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Stipe,
+1 explanation is simple: it's a good idea to get higher layer the
possibility to do decision how to process further and don't hide infos
that might be usefull.
Thanks,
Alex
Stipe Tolj schrieb:
> Wilfried Goesgens wrote:
>
>> to get to know whether you where woken up from sleep, or the sleep
>> endet naturaly, the following patch is needed:
>>
>> (i need this, to determine, whether i was woken up from a thread
>> doing tcdrain, or if the tcdrain system call gets stuck. the
>> systemcall doesn't provide the ability of a timeout.)
>>
>> no funtionality change, just documentation and actually do return ret.
>
>
> this hasn't been commited to cvs yet.
>
> @Alex: any explaination why you vote +1 on this?
>
> Stipe
>
> mailto:stolj_{at}_wapme.de
> -------------------------------------------------------------------
> Wapme Systems AG
>
> Vogelsanger Weg 80
> 40470 Düsseldorf, NRW, Germany
>
> phone: +49.211.74845.0
> fax: +49.211.74845.299
>
> mailto:info_{at}_wapme-systems.de
> http://www.wapme-systems.de/
> -------------------------------------------------------------------
>
>