TipcDispatcherCreateDetached


Name

TipcDispatcherCreateDetached — create a dispatcher in a detached thread

Synopsis

T_IPC_DISPATCHER TipcDispatcherCreateDetached() 

Arguments

None

Return Values

A new dispatcher if successful, NULL otherwise.

Diagnostics

None

Description

TipcDispatcherCreateDetached creates a new dispatcher to which events can be registered and from which messages can be received on RTclient/RTserver connections. A detached dispatcher runs continually in a background thread and does not stop until TipcDispatcherDestroy is called.

Caution

Before you use any thread function, you must call TipcInitThreads to initialize SmartSockets thread synchronization.

See Also

TipcDispatcherCreate, TipcDispatcherDestroy

Examples

This example creates a detached dispatcher:

T_IPC_DISPATCHER dispatcher; 
 
dispatcher = TipcDisaptcherCreateDetached(); 

TIBCO SmartSockets™ Application Programming Interface
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com