Some Questions aBout Threaded Queries
#5

Quote:
Originally Posted by !damo!spiderman
View Post
Threaded queries run on a separate thread in the background. Basically SA-MP server is a single threaded program by default, which means any functions you run have to wait in turn to get executed. What the mysql plugin does is it allows you to run a query on a separate thread, so it means that if your query takes too long it's not going to block the main thread causing it to freeze and lag, instead it will execute the query in the background and then notify that it is done via a callback.
Well Explained! Thanks!
But , can you asnwer my question please
That Accountcheck and Register Forwards And Stocks are the ones That Makes the Threaded Queries on my script?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)