Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

key destructor is not correct #69

Open
shintaro-iwasaki opened this issue Feb 9, 2021 · 0 comments
Open

key destructor is not correct #69

shintaro-iwasaki opened this issue Feb 9, 2021 · 0 comments

Comments

@shintaro-iwasaki
Copy link
Owner

The following is not implemented:

An optional destructor function destructor() may be associated with newkey. When a work unit is freed, if a key has a non-NULL destructor and the work unit has a non-NULL value associated with that key, the value of the key is set to NULL, and then destructor() is called with the last associated value as its sole argument value. The destructor is called before the work unit is freed. The order of destructor calls is undefined if more than one destructor exists for a work unit when it is freed.
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

No branches or pull requests

1 participant