Raised This Month: $ Target: $400
 0% 

AMX vs Metamod Plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sawce
The null pointer exception error and virtual machine bug
Join Date: Oct 2004
Old 07-30-2007 , 12:09   Re: AMX vs Metamod Plugins
Reply With Quote #1

The HL engine is not thread safe. You can spawn a thread to do a job that doesn't modify the game at all (like SQLx does), or if you're very very careful you could spawn a thread to read data (like creating bot waypoints or whatever). But you can't safely modify anything in the game from within another thread.

Stuff you do from within a thread will still use the same amount of CPU, but it won't block the game server from continuing until it is done.
__________________
fyren sucks
sawce is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode