Graphics protocol: Add support for shared memory on Windows

This commit is contained in:
Kovid Goyal 2021-06-10 12:44:50 +05:30
parent d99e243f57
commit 199685a25b
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -226,8 +226,12 @@ Value of `t` Meaning
is in a known temporary directory, such as :file:`/tmp`,
:file:`/dev/shm`, :file:`TMPDIR env var if present` and any platform
specific temporary directories.
``s`` A `POSIX shared memory object <http://man7.org/linux/man-pages/man7/shm_overview.7.html>`_.
The terminal emulator will delete it after reading the pixel data
``s`` A *shared memory object*, which on POSIX systems is a `POSIX shared memory object
<http://man7.org/linux/man-pages/man7/shm_overview.7.html>`_ and on Windows is a
`Named shared memory object <https://docs.microsoft.com/en-us/windows/win32/memory/creating-named-shared-memory>`_.
The terminal emulator must read the data from the memory
object and then unlink and close it on POSIX and just
close it on Windows.
================== ============
Local client