On Wed, 4 Jun 2025 14:41:24 GMT, Patricio Chilano Mateo 
<pchilanom...@openjdk.org> wrote:

>> Because this is how the API works. You store the location where the timer 
>> should be stored.
>> 
>> See https://www.man7.org/linux/man-pages/man2/timer_create.2.html for more 
>> information.
>
> Sorry where does it say that? I think you are looking at the example in that 
> page which makes use of sival_ptr in the signal handler. In that example 
> reading from that timer address in the handler is valid but for us we would 
> be accessing invalid memory. Plus we are not really reading it.

Why would we be accessing invalid memory?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2126798263

Reply via email to