Hello. In object.di rt_finalize calls for class objects in
destroy func.
I not found it in dmd source on github and not found in druntime
sources.
I think rt_finalize must call dtors for object and base classes,
but I think that's not all. Or if it all has it code logic
problems?
void myDestr
I found it
https://github.com/D-Programming-Language/druntime/blob/master/src/rt/lifetime.d#L1350
Creates new questions.
Why it's extern(C)?
What must do collectHandler function?
If I understand correctly monitor relates to multithreading
control (Mutex?).
On Wednesday, 10 June 2015 at 00:04:16 UTC, Oleg B wrote:
Why it's extern(C)?
For easy linking.
What must do collectHandler function?
Looks like it overrides the destruction procedure.
If I understand correctly monitor relates to multithreading
control (Mutex?).
Yes.