Ben Coman wrote:
 



Eliot Miranda wrote:
 
Alas I don't know a mechanism to deliver an interrupt.  If there's a mechanism I can implement the stack trace.  Anyone have any suggestions?
Eliot (phone)
  

Does the cygwin `kill` command work with USR1 when run from a cmd.exe prompt? 
Could that executable just be included with distributions in the same folder as the VM?
Just for reference, Apache simulates USR1 with its own program ([1] search for 'equivalent')

I'm not very familiar with this area, but I poked around for interest and summarize a few findings. Sorry I'm not set up to experiment with them myself.

The UNIX Application Migration Guide [2] provides some alternatives (click 'Signals and Signal Handling')
Someone provides an alternative at [3] - but I don't follow it.
There is some discussion at [4], which references [5] as a possible option.
Another alternative a [6].

[1] http://httpd.apache.org/docs/current/platform/windows.html
[2] http://www.zemris.fer.hr/predmeti/os1/misc/Unix2Win.htm
[3] https://www.allegro.cc/forums/thread/602466
[4] http://stackoverflow.com/questions/813086/can-i-send-a-ctrl-c-sigint-to-an-application-on-windows
[5] http://www.latenighthacking.com/projects/2003/sendSignal/
[6] http://stackoverflow.com/questions/16826097/equivalent-to-sigint-posix-signal-for-catching-ctrlc-under-windows-mingw

cheers -ben

On Aug 31, 2014, at 11:15 AM, Ryan Macnak <rmacnak@gmail.com> wrote:

  
+vm-dev

Hi Eliot,

On Mac and Linux one can get a stack trace from a busy VM with the USR1 signal. Is there an analog on Windows?

Ryan