Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98459
| From | yueyoum <yueyoum@gmail.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | how to copy PyObject * memory data to another memory address? |
| Date | 2015-11-07 21:23 +0800 |
| Message-ID | <mailman.134.1446997008.16136.python-list@python.org> (permalink) |
I'm working on a C program that has Python embedded. The host program is multi processes, which communicate via shared memory (mmap). I create a Python object (e.g., PyDict_New) in one process. How can I copy this data to shared memory so that the other process can obtain this data and convert to Python Object? 发自网易邮箱大师
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
how to copy PyObject * memory data to another memory address? yueyoum <yueyoum@gmail.com> - 2015-11-07 21:23 +0800
csiph-web