Skip to content

Fix cgo pointer issues - #167

Open
Sentimentron wants to merge 11 commits into
sjwhitworth:masterfrom
Sentimentron:libsvm-cgo-fix
Open

Fix cgo pointer issues#167
Sentimentron wants to merge 11 commits into
sjwhitworth:masterfrom
Sentimentron:libsvm-cgo-fix

Conversation

@Sentimentron

Copy link
Copy Markdown
Collaborator

This patch modifies the libsvm binding so that memory management is done outside of Golang's runtime garbage collection, this should mean it's no longer necessary to do any GODEBUG hacks to get it working, so it should fix #158.

@Sentimentron Sentimentron changed the title linear_models: fixed an issue with cgo pointers Fix cgo pointer issues Apr 9, 2017
@Sentimentron Sentimentron mentioned this pull request Nov 18, 2017
@luojh2015 luojh2015 mentioned this pull request Apr 26, 2019
@mattn mattn mentioned this pull request Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CGo Pointer Errors

1 participant