Re: parallel invocation of SCons

Fred Wright <[email protected]>
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On Mon, 18 Feb 2019, Bill Deegan wrote:

> ahh good point. you should register an atexit() handler to release the lock.? The beginning of your SConstruct to grab/wait for
> the lock.

Beware that Python's atexit isn't reliable (unless SCons already fixes 
it).  Most signal-based terminations bypass the normal exit stuff 
(including atexit handlers), so you need to add your own signal handler 
that calls sys.exit().  And since the "Terminated" message is part of the 
default signal handler, yours needs to print a message if you want one.

Fred Wright
_______________________________________________
Scons-users mailing list
[email protected]
https://pairlist4.pair.net/mailman/listinfo/scons-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.