{"id":16985832,"url":"https://github.com/as400jplpc/nim_msgshm","last_synced_at":"2026-04-13T12:31:47.638Z","repository":{"id":174038243,"uuid":"428468464","full_name":"AS400JPLPC/nim_msgshm","owner":"AS400JPLPC","description":"Single communication area between programs or between threads ","archived":false,"fork":false,"pushed_at":"2021-11-17T09:34:24.000Z","size":34,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-22T01:42:02.267Z","etag":null,"topics":["communications","msgshm","nim","nim-lang"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/AS400JPLPC.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":"2021-11-16T00:46:34.000Z","updated_at":"2021-11-17T09:34:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"de82b61d-32bc-4e67-bbb6-f38132d0d151","html_url":"https://github.com/AS400JPLPC/nim_msgshm","commit_stats":null,"previous_names":["as400jplpc/nim_msgshm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AS400JPLPC/nim_msgshm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_msgshm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_msgshm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_msgshm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_msgshm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AS400JPLPC","download_url":"https://codeload.github.com/AS400JPLPC/nim_msgshm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AS400JPLPC%2Fnim_msgshm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31753072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["communications","msgshm","nim","nim-lang"],"created_at":"2024-10-14T02:44:15.714Z","updated_at":"2026-04-13T12:31:47.619Z","avatar_url":"https://github.com/AS400JPLPC.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nim_msgshm\nSingle communication area between programs or between threads \n\nHello,\n\nthe goal is to be able to communicate between two or more programs or between threads.\n\nfunctions:  \n  \nmsgget  ---\u003e opening shared communication area   \n  \nmsgsend ---\u003e send message  \n  \nmsgread ---\u003e get message and len   \n  \ngetNbrMsg -\u003e get number message  \n  \n  \nmsgctl  ---\u003e  close and delete zone communication  \n  \ndoc : [MSGSHM](http://htmlpreview.github.io/?https://github.com/AS400JPLPC/nim_msgshm/blob/master/htmldocs/msgshm.html)\n  \nexample :  \n  \nmsgq01 msgq02  \n  \n  \napi \"C\"  to connect module nim\u003cbr\u003e   \n  \nrespect process type Linux and os400 unix   \n  \ndata len max 1024 *all character  \n  \n  \nFor the realization I relied on the documentation: \n\nIBM ZOS \n\nLINUX system development under Linux (Eyrolles) \n\nadvanced NIM documentation  \n\n\ndoc : [SOURCE](https://github.com/AS400JPLPC/nim_msgshm/blob/master/exemple/msgq01.nim)\n\ndoc : [SOURCE](https://github.com/AS400JPLPC/nim_msgshm/blob/master/exemple/msgq02.nim)\n\n\nmessage  friend :)\n\nSuddenly, if I understood correctly, it is network communication on the local loop between threads within the same process, \n\nso that it is practical, simple to implement and quite flexible.\n\n=\u003e There is no limitation of signals under linux (signals already dedicated or not very customizable)\n\n=\u003e no need to configure and implement (and therefore maintain) a message bus system.\n\n=\u003e The message mechanism leaves flexibility, with a limitation of 1024 characters but which precisely \n\nallows not to have messages that would contain huge clusters of data \n\n(it is not made for, by design, which de facto maintains the performance ) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas400jplpc%2Fnim_msgshm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fas400jplpc%2Fnim_msgshm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fas400jplpc%2Fnim_msgshm/lists"}