vibe.d beta banner
get vibe.d
0.10.1

Asynchronous I/O that doesn’t get in your way, written in D

Function EventDriverProcesses.releaseRef

Decrements the reference count of the given resource.

abstract bool releaseRef (
  ProcessID pid
) nothrow @safe;

Once the reference count reaches zero, all associated resources will be freed and the resource descriptor gets invalidated. This will not kill the sub-process, nor "detach" it.

Returns

Returns false iff the last reference was removed by this call.

Passing an invalid handle will result in a return value of true.

Authors
Copyright
License