[Scons-users] sconsign recovery after segfault

Russel Winder russel at winder.org.uk
Wed Oct 24 14:00:58 EDT 2012


On Wed, 2012-10-24 at 11:09 -0600, John Galbraith wrote:

> I am using scons to keep a lot of numerical computations up to date as I

> update input decks or numerical models. Most of those computations are

> performed in C++ (boost::python, actually) to avoid the annoying global

> interpreter lock (GIL) that renders python so useless on multicore machines.


Just for the avoidance of FUD, the GIL only affects threads, not
processes. Using the multiprocessing package leads to perfectly parallel
Python codes. In Python 3.2 a fork/join framework was introduced which
works very nicely as well. So Python multi-threaded code is sequential
certainly, but then shared memory multi-threading is anathema!

[…]

--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : <http://four.pairlist.net/pipermail/scons-users/attachments/20121024/08e96ffd/attachment.pgp>


More information about the Scons-users mailing list