Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-20 | Introduce a new time API | Rickard Green | |
The old time API is based on erlang:now/0. The major issue with erlang:now/0 is that it was intended to be used for so many unrelated things. This tied these unrelated operations together and unnecessarily caused performance, scalability as well as accuracy, and precision issues for operations that do not need to have such issues. The new API spreads different functionality over multiple functions in order to improve on this. The new API consists of a number of new BIFs: - erlang:convert_time_unit/3 - erlang:monotonic_time/0 - erlang:monotonic_time/1 - erlang:system_time/0 - erlang:system_time/1 - erlang:time_offset/0 - erlang:time_offset/1 - erlang:timestamp/0 - erlang:unique_integer/0 - erlang:unique_integer/1 - os:system_time/0 - os:system_time/1 and a number of extensions of existing BIFs: - erlang:monitor(time_offset, clock_service) - erlang:system_flag(time_offset, finalize) - erlang:system_info(os_monotonic_time_source) - erlang:system_info(time_offset) - erlang:system_info(time_warp_mode) - erlang:system_info(time_correction) - erlang:system_info(start_time) See the "Time and Time Correction in Erlang" chapter of the ERTS User's Guide for more information. | |||
2011-09-08 | erts/configure.in: Remove test for reversed setvbuf() arguments | Björn Gustavsson | |
The test is not needed, because no code tests whether SETVBUF_REVERSED is defined. Furthermore, AC_FUNC_SETVBUF_REVERSED is now documented like this: Do nothing. Formerly, this macro checked whether setvbuf takes the buffering type as its second argument and the buffer pointer as the third, instead of the other way around, and defined SETVBUF_REVERSED. However, the last systems to have the problem were those based on SVR2, which became obsolete in 1987, and the macro is no longer needed. | |||
2011-09-08 | erts/configure.in: Don't check for the presence of mach-o/dyld.h | Björn Gustavsson | |
We no longer include mach-o/dyld.h (because we only support MacOS X versions that have dlopen()). | |||
2010-12-01 | Make windows inet_gethost work for ipv6 | Patrik Nyblom | |
2010-11-09 | Implement inet:getifaddrs/0 on Windows | Raimo Niskanen | |
2010-06-08 | Make win32.config.cache static and copied when doing otp_build configure | U-KRAKEN\pan | |