LassoScript Utility
Basics Browse Detail

[Thread_Pipe]

Tag Link [Thread_Pipe] Category Threads
Type Substitution Source Available Yes
Support Preferred Version 6.0
Change Unchanged Data Source Any
Output Type Thread_Pipe Security Tag
Implementation LDML Sets Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0

Description

Allows data to be passed from process to process.

Data can be sent into a pipe using the [Thread_Pipe->Set] tag. That value will remain in the pipe until another thread calls [Thread_Pipe->Get]. If a thread calls [Thread_Pipe->Get] and there is no data in the pipe then the thread can wait until an optional timeout value is reached.

Syntax

[Global: 'myPipe' = (Thread_Pipe)]

[Variable: 'Result' = $myPipe->(Get: 1000)]

[If: $Result != Null]
...
[/If]

[$myPipe->(Set: 'Value')]

Parameters

No Parameters Required.

Examples

See the Lasso 8 Language Guide for examples of how to use this tag.