ctrl+c and destructors

Martin Nowak code at dawg.eu
Tue Oct 1 19:40:19 PDT 2013


On 10/02/2013 12:37 AM, Jonathan M Davis wrote:
> As I understand it, the problem is that there isn't really another mechanism
> to do what druntime is using signals for. So, we're between a bit of a rock
> and a hard place. Ideally though, we would find a way to do it without using
> signals.
>
> - Jonathan M Davis

What we need is pthread_suspend and the ability to determine the stack 
top of the suspended thread. That would also allow for some nice 
unification of core.thread. I already have that on my TODO list, low 
prio though. I think I saw a solution to this in some other GC (V8 maybe?).


More information about the Digitalmars-d mailing list