[Mono-devel-list] Embeding MONO and (p)threads

David Jeske jeske at chat.net
Mon Aug 11 23:25:59 EDT 2003

On Mon, Aug 11, 2003 at 04:38:53PM +0100, Dick Porter wrote:
> You need to make sure your whole embedded application is using the
> libgc-wrapped pthreads calls, not just the mono part.  See
> http://bugzilla.ximian.com/show_bug.cgi?id=46137 for more details.

While this seems acceptable for now, in the long term this seems like
a problem. As someone else pointed out, this will prevent Mono from
being embeddable inside any pre-built applications.

Can someone elaborate more about what causes this problem, and what we
might do about it in the future? For example:

Why does libgc need to override pthread functions? 

What is the problem with having some code talk directly to pthreads,
and some code talk to libgc's pthread overrides?

David Jeske (N9LCA) + http://www.chat.net/~jeske/ + jeske at chat.net

More information about the Mono-devel-list mailing list