Skip to content
Snippets Groups Projects
Commit b7618810 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Thread.ResourceCountKey: Survive being used with old pike binaries.

Old pike 8.0 binaries do not have Pike.DestructImmediate, and it is
not meaningful to attempt to kludge around it, as the corresponding
program flag is not propagated with them anyway.
parent f3b54465
No related branches found
No related tags found
No related merge requests found
...@@ -879,8 +879,9 @@ optional class Farm ...@@ -879,8 +879,9 @@ optional class Farm
//! @[ResourceCount], @[MutexKey] //! @[ResourceCount], @[MutexKey]
//! //!
optional class ResourceCountKey { optional class ResourceCountKey {
#if constant(Pike.DestructImmediate)
private inherit __builtin.DestructImmediate; private inherit Pike.DestructImmediate;
#endif
/*semi*/private ResourceCount parent; /*semi*/private ResourceCount parent;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment