{"url":"https://atsuoishimoto.hatenablog.com/entry/2019/09/09/082554","author_url":"https://blog.hatena.ne.jp/atsuoishimoto/","width":"100%","title":"Python 3.8 \u306e\u6982\u8981 (\u305d\u306e4) - multiprocessing.shared_memory \u30e2\u30b8\u30e5\u30fc\u30eb","description":"multiprocessing.shared_memory \u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3001\u5171\u6709\u30e1\u30e2\u30ea\u3092\u4f7f\u3063\u3066\u30d7\u30ed\u30bb\u30b9\u9593\u3067\u30c7\u30fc\u30bf\u3092\u4ea4\u63db\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u4f3c\u305f\u3088\u3046\u306a\u51e6\u7406\u306f mmap \u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u5b9f\u73fe\u3067\u304d\u307e\u3057\u305f\u304c\u3001\u30de\u30eb\u30c1\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3067\u7c21\u5358\u306b\u5229\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 Numpy\u306e ndarray \u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8907\u6570\u306e\u30d7\u30ed\u30bb\u30b9\u3067\u5171\u6709\u3059\u308b\u5834\u5408\u3001\u307e\u305a\u6700\u521d\u306e\u30d7\u30ed\u30bb\u30b9\u3067\u6b21\u306e\u3088\u3046\u306b\u5171\u6709\u30e1\u30e2\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u3053\u306e\u4f8b\u3067\u306f\u3001\u5171\u6709\u30e1\u30e2\u30ea\u306e\u540d\u524d\u306f \"sharedmemory_test1\" \u3068\u3057\u307e\u3059\u3002 import math from multiprocessing import shared_memory import nump\u2026","published":"2019-09-09 08:25:54","height":"190","blog_url":"https://atsuoishimoto.hatenablog.com/","image_url":null,"provider_url":"https://hatena.blog","categories":[],"blog_title":"atsuoishimoto's diary","author_name":"atsuoishimoto","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuoishimoto.hatenablog.com%2Fentry%2F2019%2F09%2F09%2F082554\" title=\"Python 3.8 \u306e\u6982\u8981 (\u305d\u306e4) - multiprocessing.shared_memory \u30e2\u30b8\u30e5\u30fc\u30eb - atsuoishimoto&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","version":"1.0","type":"rich"}