Implement endpoint destruction
Document locking for all 0-suffixed IPC functions
Do not pull all process management along with <threads.h>
We do need this. We cannot use the sem. Or at least I'm too lazy to do it.