Re: [GnuWin32-Users] Multi-threaded
Provides native Win32 open source ports and utilities
Brought to you by:
gnuwin32
From: Ruben T. <thi...@fo...> - 2010-06-14 11:03:19
|
From: Ruben Thijssen Sent: vrijdag 11 juni 2010 14:07 To: gnu...@li... Subject: Multi-threaded Hi there, A small question about libmagic. I am creating a c# wrapper and when I run the application single threaded libmagic doesn't have a problem with it. But when I turn to multithreaded I get AccessViolation exceptions. This exception occurs because the magic_t pointer in all threads point to the same address. What am I doing wrong? Or is libcurl not threadsafe? Thanks in advance, Ruben. Hi there, I found the solution to my problem. The error was not in magiclib. Thanks, Ruben. |