Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-02-24 | erts: Fix unix efile assert | Lukas Larsson | |
If writev return an error (eg ENOSPC) we do not want to abort here but instead propagate upwards into erlang. | |||
2014-02-24 | ose: Expand OSE docs | Lukas Larsson | |
2014-02-24 | ose: Add dummy ttsl driver | Lukas Larsson | |
2014-02-24 | ose: Cleanup cleanup of mutex selection defines | Lukas Larsson | |
2014-02-24 | ose: Polish mmap configure checks | Lukas Larsson | |
2014-02-24 | ose: Updating fd_driver and spawn_driver for OSE | Jonas Karlsson | |
2014-02-24 | ose: Updating event and signal API for OSE | Jonas Karlsson | |
2014-02-24 | ose: Cleanup of mutex selection defines | Lukas Larsson | |
2014-02-24 | win32: Compile erl_log.exe | Lukas Larsson | |
erl_log is used together with debug emulator. Use 'erl -debug -console' to get a denug console. | |||
2014-02-24 | ose: Remove uneccesary define | Lukas Larsson | |
2014-02-24 | ose: Fix ssl configure test for osx | Lukas Larsson | |
2014-02-24 | erts: Fix sys_msg_dispatcher assert | Lukas Larsson | |
Schedulers is too restrictive. Managed threads should be able to clean this up. | |||
2014-02-24 | ose: Fix broken doc links | Lukas Larsson | |
2014-02-24 | ose: Thread priorities configurable from lmconf | Lukas Larsson | |
The pattern used for getting the priority from the lmconf is based on the name of the process created. The pattern is: ERTS_%%PROCESS_NAME%%_PRIO with the %%PROCESS_NAME%% replaced by the prefix of the process the priority applies to. eg: ERTS_SCHEDULER_PRIO=24 applies to processes with name SCHEDULER_1, SCHEDULER_2 etc. | |||
2014-02-24 | ose: Yielding the cpu is done "the OSE" way | Lukas Larsson | |
2014-02-24 | ose: Start using ppdata for tse key | Lukas Larsson | |
2014-02-24 | ose: Do not use spinlocks on OSE | Lukas Larsson | |
This is because it is very easy to deadlock/livelock inbetween processes on OSE. | |||
2014-02-24 | ose: Fix support for crypto | Lukas Larsson | |
To enable it you have to modify the OSESSL variable in the ose xcomp file. | |||
2014-02-24 | ose: Cleanup POLL_SCHED_1 code | Lukas Larsson | |
Now schedulers 2..N make sure to wake sched 1 if they find that all io has been consumed and sched 1 is sleeping. Before sched 1 was spinning in sys_schedule waiting for sched 2..N to finish consuming io jobs | |||
2014-02-24 | ose: Added Enea copyright header to lcf files. | Robert Paal | |
Also removed softkernel lcf files. | |||
2014-02-24 | ose: Eliminating delays when trying to open files | Robert Paal | |
When opening filers on not mounted volumes the default timeout on OSE is quite big and since at startup we load something like 20 beam files this slows down startup by as much as 50 seconds. | |||
2014-02-24 | ose: Remove receive in debug | Lukas Larsson | |
Sometimes scheduler 1 should go in here and it will have signals, so remove this. If needed later a check to see that fsem is used for scheduler 1 is needed. | |||
2014-02-24 | ose: Update ddll interface after rebase to 17.0-rc1 | Lukas Larsson | |
Also deleted all the copy-paste stuff | |||
2014-02-24 | ose: Add fair scheduling yields | Lukas Larsson | |
This is needed on OSs that do not do round robin scheduling of threads. | |||
2014-02-24 | ose: Refactor global variables to ppdata | Lukas Larsson | |
This is needed because when starting multiple processes from the same shell command they will see the same global data if using status variables. | |||
2014-02-24 | ose: Port run_erl and to_erl | Lukas Larsson | |
2014-02-24 | erts: Refactor common parts out of run_erl and to_erl | Lukas Larsson | |
This is in preperation for writing ose version of run_erl and to_erl | |||
2014-02-24 | to_erl: Fix handshake ^R -> ^L code comments | Lukas Larsson | |
2014-02-24 | ose: Create OSE application | Lukas Larsson | |
Create an specific OSE application that mainly contains documentation around the OSE specific part of Erlang/OTP. | |||
2014-02-24 | ose: Fix check for HAVE_OSE_SPI_H | Lukas Larsson | |
2014-02-24 | ose: Rewrite resolve_signal API for ose drivers | Lukas Larsson | |
This new API has less impact on the check_io code and also removes the callback from ErlDrvEntry. The downside is that you have to give the resolve function when creating each event. Also the mode if the resolve was removed as this mimics the win32 code and decreases complexity. | |||
2014-02-24 | ose: Shutdown cleanly | Lukas Larsson | |
2014-02-24 | ose: Fix starting with pm_create | Lukas Larsson | |
For some reason starting with pm_create offsets the input argument list by one, so we have to adjust them before calling erl_start. | |||
2014-02-24 | ose: Update erl_assert_error after R16B03 api change | Lukas Larsson | |
2014-02-24 | ose: OSE port related cleanup and fixes | Jonas Karlsson | |
Some OSE cross-chains have problems with system includes being used, so for atleast OSE specific parts we use "" instead of <>. | |||
2014-02-24 | ose: efile driver updates. | Jonas Karlsson | |
2014-02-24 | ose: Fix printout to stdout to not duplicate long buffers | Lukas Larsson | |
2014-02-24 | ose: Bugfixes to filesystem related issues. | Jonas Karlsson | |
2014-02-24 | ose: Use spinlock as default heap lock mechanism | Jonas Karlsson | |
2014-02-24 | ose: Handle lseek() with offset beyond EOF in the file driver. | Lukas Larsson | |
2014-02-24 | ose: Fix clearmake compat issue | Lukas Larsson | |
2014-02-24 | ose,erts: Specify name for tsd keys | Lukas Larsson | |
This simplified debugging on OSE and also limits the number of ppdata keys that are created when beam is restarted. | |||
2014-02-24 | ose: Style updates only | Lukas Larsson | |
2014-02-24 | ose: Fix various build environment issues | Lukas Larsson | |
2014-02-24 | erts: configure number of write_concurrency locks | Lukas Larsson | |
Make it possible to change the number of write_concurrency locks to use. This is usefull to change when you for some reason want to use more/less locks per write_concurrency ets table. eg. OSs with a limit on how many mutexes can exist at once. | |||
2014-02-24 | ose: Change signal base to registered range | Lukas Larsson | |
2014-02-24 | ose: Add eh_frame_hdr section to linker file | Lukas Larsson | |
2014-02-24 | ose: Add link conf for gcc 4.4.3 | Lukas Larsson | |
2014-02-24 | ose: Change get_envp to ose_get_ppdata for tsd | Lukas Larsson | |
There is a system limit on the number of ppdata that is available but that should not be reached, and ppdata is faster than using get_envp. | |||
2014-02-24 | ose: Copied driver_int.h from unix | Lukas Larsson | |