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.