| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| | * | Added a zen::CreateProc() function for spawning child processes | Martin Ridgers | 2021-11-16 | 1 | -0/+119 | |
| | | | ||||||
| | * | Windows compile fix | Martin Ridgers | 2021-11-11 | 1 | -1/+1 | |
| | | | ||||||
| | * | Implement NamedEvent on POSIX using Unix-domain sockets | Martin Ridgers | 2021-11-11 | 1 | -3/+80 | |
| | | | ||||||
| | * | Removed unused u8string_view NamedEvent constructor | Martin Ridgers | 2021-11-11 | 1 | -11/+0 | |
| | | | ||||||
| | * | NamedEvent is no longer an Event-type object. | Martin Ridgers | 2021-11-11 | 1 | -2/+39 | |
| | | | | | | | | | | | | | | | Platforms other than Windows do not really have a named event-like primitive or ones that are close are fallible if a process hard-terminates. Separating from Event more clearly conveys the use of NamedEvent objects; to synchronise two processes. | |||||
| | * | Check if an event is already set before waiting on it | Martin Ridgers | 2021-11-11 | 1 | -1/+12 | |
| | | | ||||||
| | * | Windows unreachable code compile fix | Martin Ridgers | 2021-11-09 | 1 | -2/+0 | |
| | | | ||||||
| | * | Implemented ProcessHandle::Wait() for Linux | Martin Ridgers | 2021-11-09 | 1 | -3/+32 | |
| | | | ||||||
| | * | ProcessHandle::Reset() for Linux | Martin Ridgers | 2021-11-09 | 1 | -0/+3 | |
| | | | ||||||
| | * | Implemented ProcessHandle::Terminate() for Linux | Martin Ridgers | 2021-11-09 | 1 | -3/+15 | |
| | | | ||||||
| | * | Implemented ProcessHandle::IsRunning() for Linux | Martin Ridgers | 2021-11-09 | 1 | -1/+12 | |
| | | | ||||||
| | * | Implemented ProcessHandle::Initialize(Pid) for Linux | Martin Ridgers | 2021-11-09 | 1 | -1/+10 | |
| | | | ||||||
| | * | Moved "using namespace" statement into the scope it applies to | Martin Ridgers | 2021-11-09 | 1 | -1/+1 | |
| | | | ||||||
| | * | Only implement ProcessHandle::Initialize(void*) on Windows | Martin Ridgers | 2021-11-09 | 1 | -4/+2 | |
| | | | ||||||
| | * | Moved the use of INVALID_HANDLE_VALUE out of ProcessHandle::Reset() | Martin Ridgers | 2021-11-09 | 1 | -1/+7 | |
| | | | ||||||
| | * | Event for POSIX using std:: primitives | Martin Ridgers | 2021-11-02 | 1 | -5/+64 | |
| | | | ||||||
| | * | More granular if-defs around platform-specific classes | Martin Ridgers | 2021-11-02 | 1 | -2/+12 | |
| | | | ||||||
| | * | Cast to int() on the off chance that pid_t isn't one | Martin Ridgers | 2021-10-25 | 1 | -1/+1 | |
| | | | ||||||
| | * | Added a zen::GetCurrentThreadId() | Martin Ridgers | 2021-10-25 | 1 | -0/+10 | |
| | | | ||||||
| | * | pthread implementation for naming a thread | Martin Ridgers | 2021-10-25 | 1 | -0/+3 | |
| | | | ||||||
| | * | Merged main | Martin Ridgers | 2021-10-16 | 1 | -1/+4 | |
| | |\ | |/ |/| | ||||||
| | * | Merged main | Martin Ridgers | 2021-10-15 | 1 | -0/+55 | |
| | |\ | ||||||
| | * | | Added some tests for pid-related functions | Martin Ridgers | 2021-10-11 | 1 | -0/+12 | |
| | | | | ||||||
| | * | | Implemented IsProcessRunning() for Linux | Martin Ridgers | 2021-09-29 | 1 | -1/+3 | |
| | | | | ||||||
| * | | | zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵ | Stefan Boberg | 2021-10-15 | 1 | -1/+4 | |
| | |/ |/| | | | | | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above | |||||
| * | | asio HTTP implementation (#23) | Stefan Boberg | 2021-10-14 | 1 | -0/+55 | |
| |/ | | | asio-based HTTP implementation | |||||
| * | Merged latest from main | Stefan Boberg | 2021-09-27 | 1 | -3/+3 | |
| |\ | ||||||
| * | | Compile out ProcessMonitor's methods on non-Windows for now | Martin Ridgers | 2021-09-22 | 1 | -0/+4 | |
| | | | ||||||
| * | | Compile out ProcessHandle's methods on non-Windows for now | Martin Ridgers | 2021-09-22 | 1 | -0/+4 | |
| | | | ||||||
| * | | Compile out Event methods on non-Windows platforms for now | Martin Ridgers | 2021-09-22 | 1 | -0/+4 | |
| | | | ||||||
| * | | Merged main into linux-mac | Martin Ridgers | 2021-09-21 | 1 | -19/+93 | |
| |\| | ||||||
| | * | Changed so Windows also uses the portable std::mutex implementation and ↵ | Stefan Boberg | 2021-09-19 | 1 | -16/+0 | |
| | | | | | | | | | reworked some code which would not compile after the change | |||||
| | * | IsProcessRunning now throws if it fails the function fails to get a handle ↵ | Stefan Boberg | 2021-09-17 | 1 | -2/+18 | |
| | | | | | | | | | to the process due to an error (unless it is because the process does not exist) | |||||
| | * | Removed WindowsException from public headers | Stefan Boberg | 2021-09-17 | 1 | -1/+2 | |
| | | | ||||||
| | * | clang-format | Stefan Boberg | 2021-09-16 | 1 | -2/+2 | |
| | | | ||||||
| | * | Added ProcessMonitor class, which is used to monitor a number of sponsor ↵ | Stefan Boberg | 2021-09-16 | 1 | -0/+75 | |
| | | | | | | | | | processes, to control Zen instance lifetime | |||||
| * | | Added some lawns to aid orientation within the file | Martin Ridgers | 2021-09-16 | 1 | -0/+8 | |
| |/ | ||||||
| * | zen::Sleep() for Linux | Martin Ridgers | 2021-09-15 | 1 | -0/+4 | |
| | | ||||||
| * | GetCurrentProcess() for non-Windows | Martin Ridgers | 2021-09-15 | 1 | -0/+6 | |
| | | ||||||
| * | Implemented RwLock on non-Windows platforms using std::shared_mutex | Martin Ridgers | 2021-09-15 | 1 | -1/+20 | |
| | | ||||||
| * | Removed unused 'thread' include | Martin Ridgers | 2021-09-15 | 1 | -1/+0 | |
| | | ||||||
| * | Added ProcessHandle::Reset and added some diagnostics for ↵ | Stefan Boberg | 2021-08-09 | 1 | -6/+21 | |
| | | | | | ProcessHandle::Initialize for the case when OpenProcess fails | |||||
| * | Added SYNCHRONIZE to ProcessHandle::Initialize | Stefan Boberg | 2021-08-09 | 1 | -1/+1 | |
| | | ||||||
| * | Added IsProcessRunning()/GetCurrentProcessId() helpers | Stefan Boberg | 2021-08-09 | 1 | -0/+21 | |
| | | ||||||
| * | zen::Process -> zen::ProcessHandle | Stefan Boberg | 2021-08-06 | 1 | -8/+8 | |
| | | ||||||
| * | Added basic NamedMutex implementation | Stefan Boberg | 2021-08-05 | 1 | -0/+45 | |
| | | ||||||
| * | Cleaned up exception handling | Stefan Boberg | 2021-05-21 | 1 | -1/+3 | |
| | | | | | We now use std::system_error where possible to report Win32 system errors. We still have WindowsException for general HRESULT based errors but we should phase it out where possible | |||||
| * | Adding zenservice code | Stefan Boberg | 2021-05-11 | 1 | -0/+192 | |