forkables: simplify disabling via shm
* Rename cygwin_shared->prefer_forkable_hardlinks to forkable_hardlink_support, with values 0 for Unknown, 1 for Supported, -1 for Unsupported. Upon first dll loaded ever, dll_list::forkable_ntnamesize checks the /var/run/cygfork directory to both exist and reside on NTFS, setting cygwin_shared->forkable_hardlink_support accordingly. * Replace enum forkables_needs by bool forkables_created: Set to True by request_forkables after creating forkable hardlinks.
This commit is contained in:
committed by
Corinna Vinschen
parent
8bbb3d3a23
commit
135577f708
@@ -518,7 +518,7 @@ details. */
|
||||
regions. It is incremented when incompatible changes are made to the shared
|
||||
memory region *or* to any named shared mutexes, semaphores, etc. */
|
||||
|
||||
#define CYGWIN_VERSION_SHARED_DATA 6
|
||||
#define CYGWIN_VERSION_SHARED_DATA 5
|
||||
|
||||
/* An identifier used in the names used to create shared objects. The full
|
||||
names include the CYGWIN_VERSION_SHARED_DATA version as well as this
|
||||
|
Reference in New Issue
Block a user