Comment 2 for bug 485717

Revision history for this message
Tobias C. Rittweiler (tcr) wrote : Re: [Bug 485717] Re: wanted: sb-thread:make-thread should remember call-site

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
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