{"adoption": {"forks": 90, "observed_at": "2026-08-28T04:04:13.554555+00:00", "stars": 1280}, "canonical_url": "https://ross.abutalabs.com/products/nsync", "card": {"archived": false, "artifact_type": "library", "description": "nsync is a C library that exports various synchronization primitives, such as mutexes", "domain": ["developer-tools", "performance"], "enriched": true, "function": ["concurrency"], "health_score": 50, "homepage": null, "language": "C", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["google/nsync"], "name": "google/nsync", "platform": ["windows", "cpp", "c", "cross-platform"], "pushed_at": "2025-10-29T22:48:20+00:00", "repo": "google/nsync", "stars": 1280, "tags": ["synchronization-primitives", "mutexes", "condition-variables", "reader-writer-locks", "c90-portable", "cancellation", "algorithms", "linux", "macos"], "topics": [], "urls": [], "use_cases": ["replace pthread mutexes with more efficient reader-writer locks", "implement cancellable waits in multithreaded C code", "use conditional critical sections instead of condition variable while-loops", "synchronize threads in a portable C library across Unix and Windows", "implement barriers with waitable counters", "run-once lazy initialization in C"], "what_it_is": "nsync is a portable C library exporting synchronization primitives such as mutexes, reader-writer locks, condition variables, run-once initialization, waitable counters, and waitable bits. It offers conditional critical sections and cancellable waits as alternatives to pthread primitives, with small memory footprints and broad platform support.", "when_to_avoid": ["your project already works fine with pthreads or C++ standard library primitives", "you need a class-based C++ synchronization API", "you want a widely familiar API for team onboarding"], "when_to_choose": ["you need lightweight, portable synchronization primitives in C or C++", "you want cancellable waits without cancelling whole threads", "you need reader-writer locks as fast as mutexes", "you must compile with only a C90 compiler"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/nsync", "repo": "google/nsync", "role": "main", "score": 54}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.554555+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:02:37.321323+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "7fa00bbe97b8a85a4410e0c6a099ccdc54817e486c67f239f057f99848c516f4", "fetched_at": "2026-08-28T04:04:13.554555+00:00", "kind": "readme", "missing": false, "url": "https://github.com/google/nsync"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 49, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3462, "days_push": 308, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 54, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}