* Returns the `PID` of the process. * * Valid even before calling spawn. */
| 512 | * Valid even before calling spawn. |
| 513 | */ |
| 514 | PID<T> self() const { return PID<T>(static_cast<const T*>(this)); } |
| 515 | |
| 516 | protected: |
| 517 | // Useful typedefs for dispatch/delay/defer to self()/this. |