[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Native module callback when Lisp thread exits
From: |
Spencer Baugh |
Subject: |
Re: Native module callback when Lisp thread exits |
Date: |
Sat, 18 May 2024 09:56:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
> I don't understand why you need something module-specific. Shouldn't
> a thread-exit-hook be enough? We could easily add that if that helps.
Yes, that would be enough.
Although I'm now realizing that this could be done in my native module
by passing a destructor to pthread_key_create, so maybe I don't need
anything in Emacs after all.