Re: [Pgui-devel] Threads and appMessage()....

2003-03-24 Thread Micah Dowty
The C client library isn't designed to be thread-safe yet. Only call its API functions from the same thread you called pgInit() from. The only solutions are to either make the C client lib thread-safe (hard given it's design- it needs a rewrite) or to pass a message from your secondary thread bac

[Pgui-devel] Threads and appMessage()....

2003-03-24 Thread Okan VURAL
Hi All, There are two process main program and the thread job in my project. And when i want to send an app message from the thread function, main program seems to crash. Can anyone clarify this ? Is there any solution of this or is it his that; GUI functions can't be called in