Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 1997 00:17:01 -0600
From:      Steve Passe <smp@csn.net>
To:        smp@freebsd.org
Subject:   SMP signals
Message-ID:  <199709280617.AAA02587@Ilsa.StevesCafe.com>

next in thread | raw e-mail | index | archive | help

------- Forwarded Message

Return-Path: mika@castor.cs.caltech.edu
To: fsmp@freebsd.org
Cc: mika@castor.cs.caltech.edu
Subject: problems with current/smp and signals
Date: Sat, 27 Sep 1997 23:08:48 -0700
From: Mika Nystroem <mika@castor.cs.caltech.edu>

Hi,
  I don't know if I am sending this to the right address, but I am having
problems with signals on FreeBSD-current/SMP:

this program:

main() 
{

  while(1);
}

can't be interrupted with Ctrl-C (if it does finally stop, it can take
several minutes)
whereas this program

#include <stdio.h>
   
int
main()
{
  int i=0;
  while (1) {
  while(i++<100000);
  fputs("x",stdout);
  }
}

interrupts just fine.  Also, and I think related to this, if I have a CPU-
intensive process running on the system (even on one cpu) interactive
response goes down the drain.


    Mika

------- End of Forwarded Message






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709280617.AAA02587>