YoushouldhavereceivedacopyoftheGNUGeneralPublicLicense alongwiththisprogram;ifnot,writetotheFreeSoftware
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335 USA */
/* Functor class for calls you can schedule */ class Apc_call
{ public: /* This function will be called in the target thread */ virtualvoid call_in_target_thread()= 0; virtual ~Apc_call() = default;
};
/* Make a call in the target thread (see function definition for details) */ bool make_apc_call(THD *caller_thd, Apc_call *call, int timeout_sec, bool *timed_out);
#ifndef DBUG_OFF int n_calls_processed; /* Number of calls served by this target */ #endif private: class Call_request;
/* Non-zerovaluemeanswe'reenabled.It'sanint,notbool,becauseonecan callenable()Ntimes(andthenneedstocalldisable()Ntimesbeforethe targetisreallydisabled)
*/ int enabled;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.