DragonFly bugs List (threaded) for 2008-01
DragonFly BSD
DragonFly bugs List (threaded) for 2008-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue926] tcsh consumes much cpu when trying to gdb anything


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Jan 2008 11:49:14 -0800 (PST)

:No, cursig() will always stop the process and let the tracing parent look=
:=20
:at the signal.
:
:However, as we don't want to block there, we are returning ERESTART from =
:
:fork1().  Now we should *only* do this if there is a signal.  Otherwise=20
:we'll just restart the syscall and the situation won't change.
:...
:>     thing to do about it?
:
:No, this is "new" code :)  It was added by you in 2006, sys/signalvar.h=20
:rev 1.15.
:
:I'm sure this is the correct fix.
:
:cheers
:   simon

    Ah, I see now.  Ok, commit that change.

						-Matt



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]