I have been reading many of the posting on the GIL and impact on
threading etc.
I have found is confusing and would welcome some clarity on this.
I understand that embedding the interpreter in a C/C++ application
limits it to one CPU.
If the application is multi-threaded (system threads) in will n
Any ideas?
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I have a multi-threaded C++ software app that embeds Python.
When multi-threading (native system threads) it is possible that
multiple instances of a Python script are active.
I have a requirement to 'share' some data values between these script
instances (e.g. counters, file handles etc).
Thanks to all for your postings.
Seems like a spread of opinions here.
I guess SWIG, SIP & BOOST are all valid options which I need to vaidate
in turn
Alan
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am embedding Python with a C++ app and need to provide the Python
world with access to objects & data with the C++ world.
I am aware or SWIG, BOOST, SIP. Are there more?
I welcome comments of the pros/cons of each and recommendations on when
it appropriate to select one over the others.
T
Merci Pierre,
Yes I agree and plan to move more to C/C++ and releasing the GIL when
entering C/C++.
I also need to understand my original question re GIL and rescheduling.
I fear that lock/unlock too often is also causing delays due to context
switching.
BTW do you have any hints/comments on SWI
Hi all,
Wondering if a GIL lock/unlock causes a re-schedule/contect swap when
embedding Python in a multi-threaded C/C++ app on Unix ?
If so, do I have any control or influence on this re-scheduling ?
The app suffers from serious performance degradation (compared to pure
c/C++) and high context
Thanks Michael.
I will look into the areas you have suggested...
Alan
--
http://mail.python.org/mailman/listinfo/python-list
Does anyone have advice on other groups, sites etc that has knowledge
of this subject ?
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I am embedding Python into a multi-threaded C++ application running on
Solaris and need urgent clarification on the embedding architecture and
its correct usage (as I am experience weird behaviors).
Can anyone clarify:
- if Python correctly supports multiple sub-interpreters
(Py_NewInterp
Hi,
I am embedding Python into a multi-threaded C++ application runnig on
Solaris and need urgent clarification on the embedding architecture and
its correct usage (as I am experience weird behaviors).
Can anyone clarify:
- if Python correctly supports multiple sub-interpreters
(Py_NewInterp
Hi,
I am embedding Python into a multi-threaded C++ application runnig on
Solaris and need urgent clarification on the embedding architecture and
its correct usage (as I am experience weird behaviors).
Can anyone clarify:
- if Python correctly supports multiple sub-interpreters
(Py_NewInterprete
Does anyone know how to determine the pthread or native thread
identifier while in Python ?
FYI I have a multi-threaded C++ app on Solaris that embeds the Python
interpreter. While in the interpreter I need to determine its actual
running thread id.
FYI2 The python interpreter is not firing off e
Hi,
Does anyone know the reasoning or pros/cons for either (in a
multi-threaded C++ app):
- creating many sub-interpreters (Py_NewInterpreter) with a thread
state each
Or
- creating one interpreter with many thread states (PyThreadState_New)
When do I choose one approach over the other and w
Hi,
I am embedding Python into a multi-threaded application running on
Solaris. Python will enable end users to customize and re-program many
aspects of the application.
I expect that the C++ application will be natively multi-threaded and
will embed multiple Python sub-interpreters. Called Pytho
Hi folks,
I notice that M2Crypto (a python wrap of OpenSSL) leaks (haemorrhages)
memory significantly and affects my long running app very badly.
Does anyone know of fixes to this problem?
Does anyone recommmend alternatives to M2C ? e.g pyopenssl.
I notice that Guido Van Rossum has flamed abou
Thanks Steve! appreciate the response.
--
http://mail.python.org/mailman/listinfo/python-list
Hi all,
Has anyone experienced issues incompatible versions of the above?
On solaris, we are experiencing suspect crashes & memory leaks?
How do I determine which versions are proven to be
compatible/incompatible etc?
Thanks for helping.
Alan
--
http://mail.python.org/mailman/listinfo/python
18 matches
Mail list logo