Synchronizes the access on critical sections between processes. Prototypic lock file (with symlink) Alternative Boost has an interprocess namespace which
Continue readingCategory: Operating system
X11 with DRI (Linux)
In the past all rendering from the X Clients happened through the X Server via the X11/GLX protocol. It’s called
Continue readingMount points (Linux)
Linux differs from Windows with creating just a single directory tree for all partitions. Request all mount points user@DeveloperVM:~$ df
Continue readingChange owner, group and permissions (Linux)
Change owner/group chown [options] ({owner}|:{group}|{owner}:{group}) file Examples chown root file.txt // For file.txt set owner to root chown -R root:admin
Continue readingSandboxing (Linux)
There are multiple possibilities with Linux to sandbox applications. chroot … Changed file system root namespaces … Separated namespaces (e.g.
Continue readingAdd PowerShell to context menu (Windows)
1. Get PowerShell winget install –id Microsoft.PowerShell –source winget Alternative: Microsoft Store 2. Add registry keys Windows Registry Editor Version
Continue reading(Unnamed) Pipe (POSIX)
… is user for unidirectional inter process communication on a single machine. In the following example a pipe gets created
Continue readingAudio on Linux
Illustration Creator: Yihui Xiong Scenarios ALSA (The red scenario) – Using ALSA without any sound server – Just one source
Continue readingWhat is a shell?
The shell provides the user a way to interact with the OS. It’s called shell, because it’s the outermost layer
Continue readingChild process (Linux vs. Windows)
Windows You always have to create a totally new process via a CreateProcess(…) call. Linux You can either just copy
Continue reading