How many std.concurrency receivers?

Sean Kelly sean at invisibleduck.org
Mon Oct 15 09:50:49 PDT 2012


On Oct 15, 2012, at 9:35 AM, Dmitry Olshansky <dmitry.olsh at gmail.com> wrote:
> 
> I'm wondering if it will be possible to (sort of) intercept all common I/O calls in 3rd party C libraries. Something like using our own "wrapper" on top of C runtime but that leaves BSD sockets and a ton of WinAPI/Posix primitives to care about.

It's possible, but I don't know that I want to inject our own behavior into what users think is a C system call.  I'd probably put the behavior into whatever networking API is added to Phobos though.  Still not sure if this should be opt-out or not though, or how that would work.


More information about the Digitalmars-d-learn mailing list