Implement thread safe lock free copy on write array for the destroy list of the plugins (specially the loaders)

Open
#886 0 comments 0 reactions 1 assignee View on GitHub

Maintainers usually reply within 1 day

@viferga is already working on this.

Since Sep 14, 2026.

Assessment

This issue has not been assessed yet.

Description

bug c/c++ enhancement

🐛 Bug Report / Feature

I suspect this may be generating errors during destruction, I want to implement a more resilient data structure for making the destruction algorithm thread safe and lock free. The best option is a COW array in my option, the alternatives are hard to implement. I tried to mix this with the new set_small ADT but it's better if we keep them separated.

https://github.com/metacall/core/blob/c38c21d086d52c4f7d1ddbb79f095efbf2207d7d/source/loader/include/loader/loader_manager_impl.h#L55

Dominant language
C
Stars
1.8k
Forks
266
Avg merge
2d 16h
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from metacall/core

All issues in metacall/core

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.