T_ENTRY define a callback or thread function in a manner that is compatible across platforms
thread
or callback_function
function being defined protoyped
None
None
T_ENTRY is necessary in the declaration and prototype of thread and callback functions to ensure cross-platform compatibility.
None
None
This example defines a user-defined callback:
/* =========================================================== */
/* .. my_subject_cb -- a user-defined callback */
void T_ENTRY my_subject_cb (conn, data, arg) T_IPC_CONN conn; T_IPC_SRV_SUBJECT_CB_DATA data; T_CB_ARG arg; {/* function code here */
}
TIBCO SmartSockets™ Utilities Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |