T_ENTRY


Name

T_ENTRY — define a callback or thread function in a manner that is compatible across platforms

Synopsis

void T_ENTRY(thread or callback_function) 
void thread or callback_function; 

Arguments

thread or callback_function — function being defined protoyped

Return Values

None

Diagnostics

None

Description

T_ENTRY is necessary in the declaration and prototype of thread and callback functions to ensure cross-platform compatibility.

Caution

None

See Also

None

Examples

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