Server Help

ASSS Questions - Callbacks and order

Bak - Wed Jan 19, 2005 10:18 pm
Post subject: Callbacks and order
when I use DO_CBS on a callback are all the callbacks perfromed before the rest of my code executes(is it done in the same thread)?

Basicly say I have a memory allocated for a players name. Is it safe to do:


Code: Show/Hide
DO_CBS(CB_MYCALLBACK, arena, MyCBFunc,(name));

free(name);

Grelminar - Thu Jan 20, 2005 1:48 am
Post subject:
Yes, callbacks are run synchronously, unless you do something yourself to make it otherwise.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group