Hi,

The way I do it, I make sure the MonobjC objects are only used on 1 thread.
Make sure all stuff on the backgroundworker threads is pure mono only, if you need to use MonobjC objects, throw events and invoke those on your 'cocoa' thread.

However, a better way, is probably described on the Monobjc site:

http://www.monobjc.net/index.php?page=multithreading

Is your application in Multithreaded mode?
If it already is, can you use NSThreadRunner instead of .NET backgroundworkers?

- Kenny

Mario De Clippeleir wrote:
Hi,

I am using a backgroudworker to show progress of a task. This compiles 
and runs fine (it shows the progress), however i always get a lot of 
notifications : "object of class autoreleased with no pool in place".
So i defined a NSAutoreleasepool in the DoWork event and release it 
after it has done all the work, but still i have the same problem.

I'm pretty much stuck here....Any help ?

Thanks,

Mario
  

--

Kenny Clement
Software Developer

image003
Tel. +32 9 233 68 86
Fax +32 9 240 10 39
kenny.clem...@nomadesk.com
twitter.com/nomadesk

Confidentiality Notice:
This message, together with any attachments, is intended only for the use of the individual or entity to which it is addressed. It may contain information that is confidential and prohibited from disclosure. If you are not the intended recipient, you are hereby notified that any dissemination or copying of this message or any attachment is strictly prohibited. If you have received this item in error, please notify the original sender and destroy this item, along with any attachments.

Reply via email to