Skip to content

stefanspringer1/AutoreleasepoolShim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AutoreleasepoolShim

Using a fake autoreleasepool outside Apple platforms.

From the source file:

This source file is part of the Swift.org open source project

Copyright (c) 2021 Apple Inc. and the Swift project authors Licensed under Apache License v2.0 with Runtime Library Exception

See https://swift.org/LICENSE.txt for license information

See https://swift.org/CONTRIBUTORS.txt for Swift project authors

...

A shim for Linux that runs the given block of code.

The existence of this shim allows you the use of auto-release pools to optimize memory footprint on Darwin platforms while maintaining compatibility with Linux where this API is not implemented.

Some platforms were added.

About

using fake autoreleasepool outside Apple platforms

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages