{"id":21328305,"url":"https://github.com/alumik/javascript-semaphore","last_synced_at":"2025-06-15T16:09:10.335Z","repository":{"id":116554419,"uuid":"164074312","full_name":"alumik/javascript-semaphore","owner":"alumik","description":"JavaScript 信号量与互斥锁实现","archived":false,"fork":false,"pushed_at":"2020-08-28T11:38:01.000Z","size":608,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-16T00:16:58.976Z","etag":null,"topics":["javascript","semaphore","thread-synchronization"],"latest_commit_sha":null,"homepage":"https://pages.alumik.cn/javascript-semaphore/sample/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alumik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-01-04T07:34:42.000Z","updated_at":"2020-08-28T11:38:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"028141d7-51be-423e-8487-7d14e4e014e1","html_url":"https://github.com/alumik/javascript-semaphore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alumik/javascript-semaphore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alumik%2Fjavascript-semaphore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alumik%2Fjavascript-semaphore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alumik%2Fjavascript-semaphore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alumik%2Fjavascript-semaphore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alumik","download_url":"https://codeload.github.com/alumik/javascript-semaphore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alumik%2Fjavascript-semaphore/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260005988,"owners_count":22944867,"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":["javascript","semaphore","thread-synchronization"],"created_at":"2024-11-21T21:26:29.243Z","updated_at":"2025-06-15T16:09:10.304Z","avatar_url":"https://github.com/alumik.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JavaScript 信号量与互斥锁实现\n\n## Demo 运行方法\n\n在仓库根目录下运行一个 HTTP 服务器，并访问 `http://\u003c服务器地址\u003e/sample/` 。\n\n## 演示网站\n\nhttps://pages.alumik.cn/javascript-semaphore/sample/\n\n## 参考资料\n\n[Atomics API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Atomics)\n\n[SharedArrayBuffer](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer)\n\n[JavaScript ES2018 (ES9) 文档](https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falumik%2Fjavascript-semaphore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falumik%2Fjavascript-semaphore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falumik%2Fjavascript-semaphore/lists"}