async/threaded calls to natives
#4

Quote:
Originally Posted by maddinat0r
Посмотреть сообщение
Yeah, no, not really.

@OP:
Yes, calling natives outside the PAWN thread is bad and will lead you sooner or later to a crash. Even if none of the AMX-stuff would be touched, there are still the underlying network functions and you can't know if they are implemented thread-safe or not.
Hmm.. I guess you are right. Would you think printing to the log (trough sampgdk, sampgdk_logprintf) alone would be safe to use? It's quite a fundamental function
Reply


Messages In This Thread
async/threaded calls to natives - by ikkentim - 13.01.2015, 16:49
Re: async/threaded calls to natives - by nGen.SoNNy - 13.01.2015, 17:21
Re: async/threaded calls to natives - by maddinat0r - 13.01.2015, 17:30
Re: async/threaded calls to natives - by ikkentim - 13.01.2015, 17:42
Re: async/threaded calls to natives - by maddinat0r - 13.01.2015, 18:24
Re: async/threaded calls to natives - by ikkentim - 13.01.2015, 21:11
Re: async/threaded calls to natives - by ][Noname][ - 14.01.2015, 04:15

Forum Jump:


Users browsing this thread: 1 Guest(s)