[haiku-development] Re: ucontext_t?

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 04 Aug 2008 15:18:28 +0200 CEST

Andreas Färber <andreas.faerber@xxxxxx> wrote:
> > That's what I would do, yes. I don't think this should cause any
> > problems, but make sure to test if signal handlers still work :-)
> How? :) The OS does come up. Since this is non-POSIX behavior I
> assume
> this calls for some BeOS or Haiku app? Interrupting make via Ctrl+C
> for instance works as before.

You could check how vim or ftp or sleep behaves when you change the
terminal size, for example.
Apart from that, we have a number of tests for signals:
        signal_in_allocator_test (in src/tests/system/libroot/posix/)
        signal_test
        syscall_restart_test (in src/tests/system/kernel/)

You can add them to your image like this in your UserBuildConfig:
        AddFilesToHaikuImage beos bin : signal_test ;

Bye,
   Axel.


Other related posts: