Skip to content

InsideOutImplementations

jafd edited this page Jan 2, 2012 · 1 revision

An implementation which makes initially-blocking objects behave asynchronously is straight-forward. Another thing is, say, an already-networked one (NFS? GFS? SSHFS? Win32Overlapped?) which we need to provide a runInteraction() implementation with. Not that it would be so terribly efficient, but at least the code using it will work and not break.

For this kind of implementation, there must be a reverse FileIOProxy kind which is a proxy which instead makes blocking calls from thread on initially-nonblocking objects.

Clone this wiki locally