[13:27] <Keybuk> hurrah
[13:27] <Keybuk> I think I've eeked out all the ptrace race conditions now
[14:01] <Keybuk> except it now doesn't work on amd64
[14:01] <Keybuk> *sigh*
[14:12] <Keybuk> ah, that was just a difference-in-size problem
[14:12] <Keybuk> sizeof (pid_t) < sizeof (unsigned long) on amd64
[19:55] <Keybuk> wait for stop
[19:55] <Keybuk> script
[19:55] <Keybuk>         echo initialising
[19:55] <Keybuk>         sleep 5
[19:55] <Keybuk>         echo yielding
[19:55] <Keybuk>         kill -STOP $$
[19:56] <Keybuk>         echo running
[19:56] <Keybuk>         exec sleep inf
[19:56] <Keybuk> end script
[19:56] <Keybuk> -- 
[19:56] <Keybuk> Dec 02 19:55:32 test-wait (#0) goal changed from stop to start
[19:56] <Keybuk> Dec 02 19:55:32 test-wait (#0) state changed from waiting to starting
[19:56] <Keybuk> Dec 02 19:55:32 event_new: Pending starting event
[19:56] <Keybuk> Dec 02 19:55:32 Handling starting event
[19:56] <Keybuk> Dec 02 19:55:32 event_finished: Finished starting event
[19:56] <Keybuk> Dec 02 19:55:32 test-wait (#0) state changed from starting to pre-start
[19:56] <Keybuk> Dec 02 19:55:32 test-wait (#0) state changed from pre-start to spawned
[19:56] <Keybuk> Dec 02 19:55:32 process_spawn: Spawned process 415 for test-wait (#0)
[19:56] <Keybuk> Dec 02 19:55:32 Active test-wait (#0) main process (415)
[19:56] <Keybuk> yielding
[19:56] <Keybuk> running
[19:56] <Keybuk> Dec 02 19:55:37 test-wait (#0) state changed from spawned to post-start
[19:56] <Keybuk> Dec 02 19:55:37 test-wait (#0) state changed from post-start to running
[19:56] <Keybuk> Dec 02 19:55:37 event_new: Pending started event
[19:56] <Keybuk> Dec 02 19:55:37 Handling started event
[19:56] <Keybuk> Dec 02 19:55:37 event_finished: Finished started event
[19:56] <Keybuk> -- 
[19:56] <Keybuk> \o/
[19:56] <Keybuk> (note hanging around in spawned for the process to raise SIGSTOP -- matching "wait for stop")
[20:33] <ion_> Neat!