InitTextSubscriber
Initializes the text subscriber memory pool.
Synopsis
int32 InitTextSubscriber (void)
Description
Allocates and initializes the Text subscriber memory pool used for allocating subscriber contexts. InitTextSubscriber()
must be called before the Text subscriber thread is started with NewTextSubscriber()
.
Arguments
- None.
Return Value
- kDSNoErr
- No error.
- kDSNoMemErr
- Could not allocate memory pool.
Caveat
This function is part of the Subscriber.lib library file that can currently (Toolkit1.5) be found in Attic:Streaming:2p1:DataStream:Subscribers:Subscriber.lib. It will later be integrated into the main Streaming tree.
Associated Files
TextSubscriber.h
See Also
DisposeTextSubscriber