03.04.2014, 22:12
It doesn't work like that. Such constructs aren't at all possible with threaded queries. Y_inline is probably the closest you can get.
The public function doesn't actually return program flow to the place it was initiated. That's pretty much the whole point of threads. The main server thread doesn't have to wait for the query and as soon as the query gets sent the server continues to do other stuff.
The public function doesn't actually return program flow to the place it was initiated. That's pretty much the whole point of threads. The main server thread doesn't have to wait for the query and as soon as the query gets sent the server continues to do other stuff.