[cmake-developers] CMake execute_process/signal_handler on Unix

Brad King brad.king at kitware.com
Fri Jun 3 11:00:36 EDT 2016


On 06/03/2016 02:05 AM, Yordanov, Dimitar wrote:
>> Are you running inside some kind of virtualization or emulation
>> environment?
> 
> Actually not. The server is maybe under heavy load, but should it
> matter?

See discussion here:

  https://cmake.org/Bug/view.php?id=15873

> Possibly I'm on the wrong track, but couldn't the compiler reorder the
> code where kwsysProcess is set, and move it out of the blocked
> section? Should it be volatile to avoid such scenario?

I think further investigation/debugging would be needed to answer that.

> I thought (void)write(...); is a portable way to say that we are not
> interested in the return value. Not that I would change running code
> for that.

I think we used to have that and some compilers warned anyway.

-Brad



More information about the cmake-developers mailing list