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

[issue1300] vkernel suspends execution when showing ddb prompt


From: "Simon 'corecode' Schubert \(via DragonFly issue tracker\)" <sinknull@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 Feb 2009 15:01:02 +0000

New submission from Simon 'corecode' Schubert <corecode@fs.ei.tum.de>:

whenever the MP vkernel breaks to the debugger prompt, it will suspend
execution.  To reach the debugger, you will have to put it to foreground manually.

The reason for this is this line in platform/vkernel/i386/mp.c:

                if (pthread_kill(ap_tids[n], SIGSTOP) != 0)

as specified by POSIX, sending a SIGSTOP signal to any thread of a process will
stop the complete process.

The solutions probably would need some other means of thread communication than
a mere stop signal.

----------
messages: 6257
nosy: corecode
status: unread
title: vkernel suspends execution when showing ddb prompt

_____________________________________________________
DragonFly issue tracker <bugs@lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue1300>
_____________________________________________________



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