SUMMARY: CONSTR | METHOD | DETAIL: CONSTR | METHOD |
Implements Thread::Queue::Queueable to permit curse/redeem operations when passed between threads via TQDs.
Licensed under the Academic Free License version 2.1, as specified in the License.txt file included in this software package, or at OpenSource.org.
Unless otherwise noted, $self
is the object instance variable.
Constructor Summary |
---|
new($sig, $id, $tac)
Stores the arguments into a blessed arrayref |
Method Summary |
---|
redeem($class, $obj)
Redeem the object after being passed to a thread |
Constructor Details |
---|
new($sig, $id, $tac)
$sig
- unique apartment thread signature used to reject calls to
stale closures after an apartment thread has been recycled
$id
- unique closure ID used to lookup the closure in the originating
apartment thread's closure map
$tac
- Thread::Apartment::Client object for the originating apartment thread
Method Details |
---|
redeem($class, $obj)
$class
- class to redeem to (unused)
$obj
- the object structure being redeemed