Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gc old process code | Håvard Pettersen | 2022-03-05 | 14 | -2379/+1 |
| | | | | also added read_line function to new Process code | ||||
* | GC unused code. | Henning Baldersheim | 2022-03-01 | 7 | -176/+36 |
| | |||||
* | Add [[nodiscard]] to Read() too | Henning Baldersheim | 2022-01-26 | 4 | -4/+5 |
| | |||||
* | Add [[nodiscard]] to Write2 and CheckedWrite too | Henning Baldersheim | 2022-01-26 | 4 | -6/+6 |
| | |||||
* | Add [[nodiscard]] to Close() and Sync() | Henning Baldersheim | 2022-01-26 | 2 | -4/+4 |
| | |||||
* | - assert result of Close() in destructor of FastOS_File and FastOS_BufferedFile. | Henning Baldersheim | 2022-01-26 | 5 | -17/+26 |
| | | | | | | | - Check result of Close() - Check result of Sync() - Scope FastOS_File to avoid explicit Close(). - NULL -> nullptr | ||||
* | Rename read -> has_read | Henning Baldersheim | 2022-01-26 | 2 | -32/+16 |
| | |||||
* | Chunk large preads into multiple smaller preads of max 64MB. | Henning Baldersheim | 2022-01-26 | 1 | -1/+12 |
| | |||||
* | Chunk large reads into multiple smaller reads of max 64MB. | Henning Baldersheim | 2022-01-26 | 3 | -14/+18 |
| | |||||
* | Use string::compare | Henning Baldersheim | 2021-11-25 | 1 | -1/+0 |
| | |||||
* | Use c++11 strings instead of old c-style manual string manipulation. | Henning Baldersheim | 2021-11-24 | 5 | -36/+19 |
| | |||||
* | ignore requested stack sizes | Arne H Juul | 2021-11-15 | 1 | -1/+6 |
| | | | | | * for C++ threads only * triggered by feature flag, by default use old behavior | ||||
* | Update Verizon Media copyright notices. | gjoranv | 2021-10-07 | 2 | -2/+2 |
| | |||||
* | Update 2017 copyright notices. | gjoranv | 2021-10-07 | 44 | -44/+44 |
| | |||||
* | remove unused argument | Arne Juul | 2021-09-01 | 2 | -4/+2 |
| | |||||
* | simplify handling of environment variables | Arne Juul | 2021-09-01 | 2 | -52/+1 |
| | |||||
* | nothing really uses the "IPC descriptor" | Arne Juul | 2021-09-01 | 5 | -160/+8 |
| | |||||
* | remove unused enum | Arne Juul | 2021-09-01 | 1 | -16/+0 |
| | |||||
* | remove unused _hasDetachedProcess flag | Arne Juul | 2021-09-01 | 2 | -2/+0 |
| | |||||
* | remove unused sockets | Arne Juul | 2021-09-01 | 2 | -46/+1 |
| | | | | | * CreateSocketPairs() isn't called * nothing reads from or writes to _mainSocket and _starterSocket | ||||
* | remove helper methods | Arne Juul | 2021-09-01 | 2 | -78/+0 |
| | | | | ReadInt, ReadBytes, WriteInt, WriteBytes are now unused. | ||||
* | remove unused methods | Arne Juul | 2021-09-01 | 2 | -290/+0 |
| | | | | | | | * both StarterDoWait() and StarterDoCreateProcess() are now unused. * after this, SendFileDescriptor() isn't used either, remove it and some support code for sending file descriptors * also ReceiveEnvironmentVariables() has no usage, remove it. | ||||
* | remove unused ProcessStarter::Run() | Arne Juul | 2021-09-01 | 2 | -17/+0 |
| | |||||
* | gc unused code | Arne Juul | 2021-09-01 | 3 | -39/+0 |
| | | | | | * ProcessStarter Start() is now never called, remove it. * ProcessStarter Stop() is now a no-op, remove it and its usage. | ||||
* | remove unused code | Arne Juul | 2021-09-01 | 2 | -36/+0 |
| | | | | | * there is no code setting _hasProxiedChildren to true, so PollReapProxiedChildren() can never be called. | ||||
* | skip stopping proxy process | Arne Juul | 2021-09-01 | 1 | -5/+0 |
| | | | | | * we never start ProcessStarter proxy process, so we don't need to stop it either. | ||||
* | skip starting extra process | Arne Juul | 2021-09-01 | 1 | -4/+0 |
| | | | | * we never start proxied children via ProcessStarter, so it doesn't need to run. | ||||
* | Enable fastos backtrace for aarch64. | Tor Egge | 2021-04-28 | 2 | -2/+2 |
| | |||||
* | Remove duplicate headers | Jon Bratseth | 2021-03-18 | 2 | -2/+0 |
| | |||||
* | Add copyright headers | Jon Bratseth | 2021-03-18 | 2 | -0/+2 |
| | |||||
* | add PTHREAD_STACK_MIN if __pthread_get_minstack is unavailable | Arne Juul | 2021-02-25 | 1 | -0/+3 |
| | |||||
* | adjust stack size by adding system minimum size | Arne Juul | 2021-02-24 | 1 | -2/+11 |
| | |||||
* | Add noexcept and some other minor code health. | Henning Baldersheim | 2021-02-02 | 1 | -17/+0 |
| | |||||
* | Revert "Properly track execution of BucketTasks and provide sync() and ↵ | Henning Baldersheim | 2021-02-02 | 1 | -0/+17 |
| | | | | order… " | ||||
* | Properly track execution of BucketTasks and provide sync() and orderly shutdown. | Henning Baldersheim | 2021-02-02 | 1 | -17/+0 |
| | |||||
* | Revert "Implement BucketExecutor::sync." | Henning Baldersheim | 2021-02-02 | 1 | -0/+17 |
| | |||||
* | Implement BucketExecutor::sync. | Henning Baldersheim | 2021-02-01 | 1 | -17/+0 |
| | |||||
* | - Wait for zero inactive threads before trying to start the one that shall fail. | Henning Baldersheim | 2021-01-12 | 1 | -17/+12 |
| | | | | - Also ensure that the started threads do not stop until we have completed the test. | ||||
* | Reduce runtime by not testing std::stuff and also avoid extended stress test. | Henning Baldersheim | 2021-01-12 | 3 | -320/+40 |
| | |||||
* | GC unused code and tests with no value. | Henning Baldersheim | 2021-01-07 | 7 | -216/+16 |
| | |||||
* | No need to test std::this_thread::sleep | Henning Baldersheim | 2021-01-07 | 2 | -59/+0 |
| | |||||
* | No need to test the std::mutex | Henning Baldersheim | 2021-01-07 | 4 | -224/+15 |
| | |||||
* | Skip waiting as the counters are changed in same thread. | Henning Baldersheim | 2021-01-07 | 1 | -4/+0 |
| | |||||
* | Include thread header file when needed. | Tor Egge | 2021-01-04 | 2 | -0/+2 |
| | |||||
* | Remove failed handler. | Tor Egge | 2020-10-16 | 4 | -76/+6 |
| | |||||
* | Define _G_nextCpuId only on linux | Tor Egge | 2020-10-04 | 1 | -0/+2 |
| | |||||
* | avoid naked exit | Arne Juul | 2020-07-03 | 3 | -11/+14 |
| | |||||
* | Move function to count open files to fastos. | Tor Egge | 2020-04-15 | 4 | -0/+41 |
| | | | | Count open files on Darwin. | ||||
* | Restore missing portions of directio API for systems without directio | Tor Egge | 2020-04-15 | 2 | -1/+30 |
| | | | | support. | ||||
* | Add fastos::UNIX_File_RW_Ops class to simplify error injection in | Tor Egge | 2020-04-14 | 5 | -7/+60 |
| | | | | unit tests. |