{"id":51085130,"url":"https://github.com/maandree/bus","last_synced_at":"2026-06-23T21:01:58.659Z","repository":{"id":30470258,"uuid":"34024270","full_name":"maandree/bus","owner":"maandree","description":"A simple daemonless system for broadcasting messages locally","archived":false,"fork":false,"pushed_at":"2026-05-09T15:34:47.000Z","size":216,"stargazers_count":54,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-09T17:35:50.384Z","etag":null,"topics":["bus","c-library","interprocess-communication","ipc","utility"],"latest_commit_sha":null,"homepage":"https://codeberg.org/maandree/bus","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maandree.png","metadata":{"files":{"readme":"README","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}},"created_at":"2015-04-15T23:45:51.000Z","updated_at":"2026-05-09T15:34:51.000Z","dependencies_parsed_at":"2022-09-07T14:32:06.014Z","dependency_job_id":null,"html_url":"https://github.com/maandree/bus","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/maandree/bus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fbus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fbus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fbus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fbus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maandree","download_url":"https://codeload.github.com/maandree/bus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maandree%2Fbus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34706579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-23T02:00:07.161Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bus","c-library","interprocess-communication","ipc","utility"],"created_at":"2026-06-23T21:01:55.644Z","updated_at":"2026-06-23T21:01:58.654Z","avatar_url":"https://github.com/maandree.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n\tbus - A simple daemonless system for broadcasting messages locally\n\nDESCRIPTION\n\tbus is a simple daemonless system for broadcasting messages locally.\n\tIt is a lightweight alternative to a two-phase interprocess flexible\n\tbarrier.\n\n\tbus uses a System V semaphore array and System V shared memory.\n\tBuses are named; the key of the semaphore array and the shared\n\tmemory is stored in a regular file.\n\n\tThe shared memory used by bus is always 2048 bytes. Additionally\n\tall messages should be encoded in UTF-8 and not contain any NULL\n\tcharacters, except they MUST always end with a zero byte.\n\tFurthermore messages should be prefixed with the process\n\tidentifer of the process whence the message originated, followed\n\tby a space. If the process is ephemeral, 0 should be used instead\n\tof the process identifier.\n\n\tCommunication over bus is synchronous. The broadcast call does\n\tnot return until all listeners have received (and copied) the\n\tmessage. A malfunctioning program can lock the bus.\n\n\tThis software package contains a C library and a command line\n\tutility. The package python-bus provides a Python 3 module.\n\nRATIONALE\n\tWe need an interprocess communication system similar to message\n\tqueues. But we need broadcasting rather than anycasting, so we\n\thave a fast, simple and daemonless system for announcing events\n\tto any processes that might be interested.\n\nSEE ALSO\n\tlibshr(7), cmdipc(1), msgctl(3), semctl(3), shmctl(3), mqueue.h(0),\n\tsemaphore.h(0), sem_overview(7), mmap(3), pipe(3), socketpair(3),\n\tsocket(3), unix(7), cmsg(3), kill(3), eventfd(2),  memfd_create(2),\n\tpthread_mutex_destroy(3), pthread_rwlock_destroy(3), futex(7),\n\tpthread_spin_destroy(3), pthread_cond_destroy(3), lockf(3), flock(2),\n\tfcntl(3), ioctl(3), mkfifo(3), rendezvous(2), 9p(2), libdoor(3),\n\tpython-bus\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaandree%2Fbus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaandree%2Fbus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaandree%2Fbus/lists"}