Module Name: src Committed By: kamil Date: Mon Nov 14 00:18:33 UTC 2016
Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Enhance pipe(2)-based IPC barrier in attach5 of t_ptrace_wait The write(2) call does not block and there is need to perform handshake, in order to wait on the read(2) call. The pipe(2) interface for IPC purposes is quite difficult to design and get right. It might be refactored and with added new helper functions, although it would be better to switch to some other mechanism rather. But as it works now quite well in the current set of tests, do not touch it. Sponsored by <The NetBSD Foundation>. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/kernel/t_ptrace_wait.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.