summaryrefslogtreecommitdiff
path: root/erts/example
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'maint'Dan Gudmundsson2016-12-071-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Update copyright-year Conflicts: lib/dialyzer/src/dialyzer.hrl lib/dialyzer/src/dialyzer_options.erl lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer.hrl lib/dialyzer/test/opaque_SUITE_data/src/recrec/dialyzer_races.erl lib/hipe/icode/hipe_icode.erl lib/hipe/main/hipe.erl lib/hipe/main/hipe.hrl.src lib/hipe/main/hipe_main.erl
| * Update copyright-yearErlang/OTP2016-12-071-1/+1
| |
* | Use more correct delimiters for erl_nif.h includeTuncer Ayaz2016-09-191-1/+1
|/ | | | | | | | | | | | Anywhere but the beam sources we shouldn't #include "erl_nif.h", because what "erl_nif.h" does is: (1) fail to find it outside of -I dirs, (2) then treat it as if it was written like <erl_nif.h>. Using <erl_nif.h> skips (1). More information can be found in 6.10.2 of the C standard. Because the examples use "erl_nif.h", NIF projects in the Erlang ecosystem copy this verbatim and make the same mistake.
* Replace misspelled symbolic time unitsRickard Green2016-08-251-0/+4
| | | | | Besides using two words for 'milliseconds' et. al. they are also changed from plural to singular.
* update copyright-yearHenrik Nord2016-03-1515-15/+15
|
* Merge branch 'bruce/change-license'Bruce Yinhe2015-06-2216-159/+175
|\ | | | | | | | | | | | | | | OTP-12845 * bruce/change-license: fix errors caused by changed line numbers Change license text to APLv2
| * Change license text to APLv2Bruce Yinhe2015-06-1816-159/+175
| |
* | Minor doc fixesRickard Green2015-06-181-5/+6
|/
* Better OS system time implementationRickard Green2015-03-241-0/+1
|
* Introduce a new time APIRickard Green2015-03-202-1/+303
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update copyright yearsBjörn-Egil Dahlberg2011-09-291-1/+1
|
* erts: use a union to avoid strict aliasing issuesTuncer Ayaz2011-08-151-28/+42
| | | | | | | Use a union for pointer type conversion to avoid compiler warnings about strict-aliasing violations with gcc-4.1. gcc >= 4.2 does not emit the warning. TODO: Reconsider use of union once gcc-4.1 is obsolete?
* erts: adapt matrix_nif to R14 erl_nif API changesTuncer Ayaz2011-08-151-8/+9
|
* Update copyright yearsBjörn-Egil Dahlberg2011-05-201-1/+1
|
* erts: Fix doc typos, duplication and readabilityTuncer Ayaz2011-03-251-1/+1
|
* OTP-8335 NIF improvements:Sverker Eriksson2010-02-172-0/+254
| | | | | | | | | | | | | | | Driver API for multi-threading made available for NIFs. Support for mempory managed (garbage collected) resource objects. A way to pass "pointers" to native data structures between C and Erlang in a safe way. Support for references, floats and term comparison. Various new functions, like enif_inspect_iolist_as_binary, enif_make_sub_binary, enif_get_string, enif_get_atom, enif_make_tuple_from_array, enif_make_list_from_array, enif_make_existing_atom.
* The R13B03 release.OTP_R13B03Erlang/OTP2009-11-2013-0/+1272