JVCL Help:TJvMTAsyncBufferBase.Write

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Adds an object to the buffer.


Pascal

 procedureWrite(AObject: TObject);


Parameters

Parameters Description
AObject: TObject The item to add.


Description

Waits for room in the buffer and writes the object into the buffer. After an call to Write the buffer owns the object (even if the EMTTerminate is raised) Can raise EMTTerminate. Call Write to add an object to the buffer. Typically you would add an object to the buffer in one thread, and read the object from the buffer in another thread. This will be done asynchronous, thus it involves a time interval between the writing and reading of the object.


See Also

TJvMTAsyncBufferBase.Read


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page