[asterisk-users] some kind of timeout problem in pbx_spool.c
Philipp Kempgen
philipp.kempgen at amooma.de
Tue Feb 3 19:43:59 CST 2009
Tilghman Lesher schrieb:
> On Tuesday 03 February 2009 17:47:26 Philipp Kempgen wrote:
>> Tilghman Lesher schrieb:
>> > filesystem
>> > timestamps are only resolute to the second, not to any fraction of a
>> > second.
>>
>> Depends on the file system.
>> http://en.wikipedia.org/wiki/Comparison_of_file_systems
>
> Fair point, but what standard interface provides access to information more
> resolute than the second? The standard interface is stat(2), and I don't see
> any comparable interface.
I don't know.
http://linux.die.net/man/2/stat says:
---cut---
Since kernel 2.5.48, the stat structure supports nanosecond
resolution for the three file timestamp fields. Glibc exposes the
nanosecond component of each field using names either of the form
st_atim.tv_nsec, if the _BSD_SOURCE or _SVID_SOURCE feature test
macro is defined, or of the form st_atimensec, if neither of these
macros is defined. On file systems that do not support sub-second
timestamps, these nanosecond fields are returned with the value 0.
---cut---
Philipp Kempgen
--
AMOOCON 2009, May 4-5, Rostock / Germany -> http://www.amoocon.de
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied -> http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
--
More information about the asterisk-users
mailing list