[Mono-list] Patch for bugzilla 31265, plus some pthreads
11 Oct 2002 16:54:58 +0100
On Fri, 2002-10-11 at 15:32, Tim Haynes wrote:
> Also, there was a mono_thread_create, but no mono_thread_attach for
> existing threads). Have copied the mono_thread_create and replaced a call t
> pthread_create() with pthread_self(), which works. There is a callback to
> be called on unhandled exception for example, which now can call a
> user-registerable callback or the original callback (calling pthread_exit).
> The code in the user callback mono_thread_attach_aborted_cb should do a
> longjmp to unwind the stack to a frame above any Mono frames.
Could you explain why this code is needed?
Also, I can't find any MS documentation for AttachThread(). (The
publicly-visible entry points in io-layer should only be from the
windows API, because the rest of the code needs to be portable to