Threaded and non threaded queries
#3

The idea with a threaded query is that while the query is busy the sa-mp server can continue on and execute other things (sync!). When the query is done, the MySQL servers calls the function you specify and you can go on loading your data.

With an unthreaded query, the sa-mp server has to wait for the response from the MySQL server before it can continue. This is especially troublesome if the query takes more than a few milliseconds to execute. During this "timeout" nothing happens. No syncing, nothing.
Reply


Messages In This Thread
Threaded and non threaded queries - by CoDeZ - 11.09.2012, 21:30
Re: Threaded and non threaded queries - by CoDeZ - 12.09.2012, 12:40
Re: Threaded and non threaded queries - by Vince - 12.09.2012, 13:00
Re: Threaded and non threaded queries - by CoDeZ - 12.09.2012, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)