MCPcopy Create free account
hub / github.com/3rdparty/libprocess / Process

Class Process

include/process/process.hpp:505–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

503
504template <typename T>
505class Process : public virtual ProcessBase {
506public:
507 ~Process() override {}
508
509 /**
510 * Returns the `PID` of the process.
511 *
512 * Valid even before calling spawn.
513 */
514 PID<T> self() const { return PID<T>(static_cast<const T*>(this)); }
515
516protected:
517 // Useful typedefs for dispatch/delay/defer to self()/this.
518 typedef T Self;
519 typedef T This;
520};
521
522
523/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected