On Feb 9, 2009, at 12:02 PM, Aahz wrote:

[posted & e-mailed]

In article <mailman.8619.1233597806.3487.python-l...@python.org>,
Philip Semanchuk  <phi...@semanchuk.com> wrote:

I'm trying call Python from inside of a C thread that's running in a
Python extension I've written and I am not having much luck. My C
thread function consists of simply this, and I get a segmentation
fault from Python:

Because it's been a week without response, I suggest you try the capi
mailing list.

I didn't know there *was* such a thing. Thanks for the tip! For those who might be interested, the list is here:
http://mail.python.org/mailman/listinfo/capi-sig


FYI, I got my code working and it is in the latest release of posix_ipc:
http://semanchuk.com/philip/posix_ipc/

The function MessageQueue_request_notification() does some necessary setup and the function process_notification() does the rest of the work.


Cheers
Philip


--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to