Skip to contentSkip to conversation

timer_create(CLOCK_PROCESS_CPUTIME_ID) for child?

DISCUSSION Rob Landley 1 participant 1 message Oct 12, 2021

lore
Share & tools
lore
#0 lore raw

Is there any way to timer_create(CLOCK_PROCESS_CPUTIME_ID) but have the signal delivered to the parent process instead of the child?

Possibly there's something that could be done with ptrace, but I'm not figuring it out. (I don't want to create a timer _in_ the child, that visibly messes with the child's state, and I might intercept the child's own timer...)

Rob