Multithreaded PAWN using just standard NPCs
#4

I guess the communication between server and NPC might be longer than any some (medium sized) threads can be done by the server itself.

If you like to use it to send data to another client to calculate on its own thread for example expensive hashing, handling large files, some other procedure which surely would hold the thread on the server you can simply use the socket plugin to get the results send back to server server and readable over a callback in your script.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)