15 months ago | Paul Boddie | raw annotate files changeset graph | On MIPS32, at least, in a payload started by libexec, the main thread is not necessarily returned correctly by pthread_l4_cap(pthread_self()). So a workaround is used when a server is initialised for the main thread. |
1 #include <systypes/base.h> /* offset_t */ 2 3 /* An interface providing pipe-opening support. */ 4 5 interface PipeOpener 6 { 7 /* Obtain a pipe for communication between two endpoints, indicating a region 8 size for each section of a pipe. */ 9 10 [opcode(20)] void pipe(in offset_t size, out cap reader, out cap writer); 11 };