> If you mean have the source-location for the MAKE-THREAD call site, that
> could be done: add a source-location slot to the lisp-side thread
> object, and have a compiler-macro for MAKE=THREAD pass in the source
> location.
Unfortunately, I don't think that will be enough as
SB-THREAD:MAKE-THREAD is often invoked from within some wrapper
function. So ideally, it should store a tiny portion (like 3-5 frame?)
of the stack, or something like that. I don't have a clue about the
technical aspects involved.
-T.
--
Diese Nachricht wurde auf Viren und andere gefaerliche Inhalte untersucht
und ist - aktuelle Virenscanner vorausgesetzt - sauber.
Freebits E-Mail Virus Scanner
Nikodemus Siivola <email address hidden> writes:
> If you mean have the source-location for the MAKE-THREAD call site, that
> could be done: add a source-location slot to the lisp-side thread
> object, and have a compiler-macro for MAKE=THREAD pass in the source
> location.
Unfortunately, I don't think that will be enough as MAKE-THREAD is often invoked from within some wrapper
SB-THREAD:
function. So ideally, it should store a tiny portion (like 3-5 frame?)
of the stack, or something like that. I don't have a clue about the
technical aspects involved.
-T.
--
Diese Nachricht wurde auf Viren und andere gefaerliche Inhalte untersucht
und ist - aktuelle Virenscanner vorausgesetzt - sauber.
Freebits E-Mail Virus Scanner