{"id":20815259,"url":"https://github.com/dcristoloveanu/clds","last_synced_at":"2025-06-22T05:41:20.973Z","repository":{"id":89673839,"uuid":"124179513","full_name":"dcristoloveanu/clds","owner":"dcristoloveanu","description":"C Lockless Data Structures","archived":false,"fork":false,"pushed_at":"2021-08-02T21:46:16.000Z","size":716,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T15:43:34.789Z","etag":null,"topics":["c","data-structures","hash-table","hazard-pointer","library","lock-free","lockless","singly-linked-list"],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcristoloveanu.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-07T04:35:04.000Z","updated_at":"2020-05-15T03:57:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd0a4658-a84a-4788-9367-ee19bd61228a","html_url":"https://github.com/dcristoloveanu/clds","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcristoloveanu%2Fclds","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcristoloveanu%2Fclds/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcristoloveanu%2Fclds/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcristoloveanu%2Fclds/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcristoloveanu","download_url":"https://codeload.github.com/dcristoloveanu/clds/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243161121,"owners_count":20246012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","data-structures","hash-table","hazard-pointer","library","lock-free","lockless","singly-linked-list"],"created_at":"2024-11-17T21:20:43.984Z","updated_at":"2025-03-12T05:24:07.386Z","avatar_url":"https://github.com/dcristoloveanu.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# C Lockless Data Structures\n\n`clds` is a general purpose C library implementing several lockless data structures.\n\nImplemented lockless data structures:\n\n- Singly linked list\n- Hash table\n\n*This library is work in progress*. The first release should happen once the first lockless structure is usable and working.\n\nThe goals are:\n\n- Performant lockless data structures\n- C11 compliant code.\n\n## Dependencies\n\n`clds` uses `azure-c-shared-utility`, which is a C library providing common functionality for basic tasks (string manipulation, list manipulation, logging, etc.).\n`azure-c-shared-utility` is available here: https://github.com/Azure/azure-c-shared-utility and it is used as a submodule.\n\n`clds` uses `ctest` as a test runner.\n`clds` uses `umock-c` as mocking framework.\n\n`clds` uses cmake for configuring build files.\n\n## Setup\n\n### Build\n\n- Clone `clds` by:\n\n```\ngit clone --recursive https://github.com/dcristoloveanu/clds.git\n```\n\n- Create a folder named `cmake` under `clds`\n\n- Switch to the `cmake` folder and run\n\n```\ncmake ..\n```\n\n- Build\n\n```\ncmake --build .\n```\n\n### Building the tests\n\nIn order to build the unit tests use:\n\n```\ncmake .. -Drun_unittests:bool=ON\n```\n\n## Switching branches\n\nAfter any switch of branches (git checkout for example), one should also update the submodule references by:\n\n```\ngit submodule update --init --recursive\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcristoloveanu%2Fclds","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcristoloveanu%2Fclds","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcristoloveanu%2Fclds/lists"}