[Mono-dev] Mono on OSX 10.4 (Cocoa and Threading)

kangaroo grompf at sublimeintervention.com
Tue Aug 30 22:30:56 EDT 2005


On 30-Aug-05, at 7:56 PM, Frank Bergmann wrote:

> Hello,
>
> I'm using Mono 1.1.8 happily on Linux and now thought of running my
> assemblies on OSX. Though I ran into two problems:
>
> 1. My application uses three threads. The main thread initializes the
> app and then manages a message queue. A next thread manages incoming
> messages over a TCPIP protocol, and a last thread deals with outgoing
> calls. This app works nicely under Win32/ms.net and Linux/mono ...
>
> The problem: under OS X the app gets stuck in the main thread and the
> other threads never start. Is there any known issue with threads under
> OS X? If so is there a workaround?
>

No, make a test case and file a bug.

> 2. Another problem of more general nature regards the WinForms  
> assemply.
> After installing the mac package mono still seems to need an x-server
> and default to Gtk. Is there a way to tell mono to use the Cocoa /
> Carbon by default?
>

Use macpack and understand that the Mac MWF driver is still  
incredibly alpha.

You will still need X11 installed however, for font rendering (X11  
includes freetype/fontconfig).

-kangaroo




More information about the Mono-devel-list mailing list