[Defconapi] multi-threading
spooq
spoooq at gmail.com
Sun Aug 9 16:37:01 CDT 2009
Ok, looks like it is me doing something wrong then. Every time I tried
to access some memory from another thread, I was getting garbage. I'll
have a look tomorrow evening.
Thanks!
2009/8/9 Robin Baumgarten <robin.baumgarten at gmail.com>:
> Hi Luke,
>
> I haven't focused on multithreading while developing the API, nor do I have
> a great expertise on multithreading in C++, so I'm afraid I can't help you
> much there. Defcon has been compiled in Multi-threaded DLL (/MD) mode.
> Also note that you should not call any API functions from other threads (or
> more exactly, only call API methods while the main thread is executing the
> Update() function).
>
> Robin
>
> 2009/8/9 spooq <spoooq at gmail.com>
>>
>> Hi all,
>>
>> I was trying to get some background threads running this afternoon and
>> was having trouble. Is it because defcon.exe is compiled without
>> threading support? If so, is this on purpose?
>>
>> If it is just me mucking up the implementation (quite likely), then
>> I'll have another bash at getting pthreads or native threads to work.
>>
>> Cheers,
>> Luke
>> _______________________________________________
>> Defconapi mailing list
>> Defconapi at lists.introversion.co.uk
>> http://lists.introversion.co.uk/listinfo/defconapi
>
>
More information about the Defconapi
mailing list