1threads::lite::tid(3) User Contributed Perl Documentationthreads::lite::tid(3)
2
3
4
6 threads::lite::tid - a threads::lite thread id
7
9 Version 0.034
10
12 This module represents a thread ID object. It provides a handle to a
13 thread.
14
16 send(@list)
17 Send a message to a thread. The message items may contain any data type
18 that can be serialized by Storable (including coderefs).
19
20 id()
21 Get an opaque but primitive identifier for thread.
22
23 monitor()
24 Monitor the thread. This will cause the calling thread to get a
25 notification of the thread's end. In case of a natural death it returns
26 "('exit', 'normal', $id, @return_value)", in case of an unnatural death
27 it will contain "('exit', 'error', $id, $exception)".
28
29 rpc(@args)
30 This is a utility function. It send prepended by the sending process'
31 tid, and waits for a reply prepended by the tid, and returns it without
32 the tid.
33
35 Leon Timmermans, "<leont at cpan.org>"
36
38 This is an early release, it is expected to have plenty of bugs.
39
40 Please report any bugs or feature requests to "bug-threads-lite at
41 rt.cpan.org", or through the web interface at
42 <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=threads-lite>. I will
43 be notified, and then you'll automatically be notified of progress on
44 your bug as I make changes.
45
47 You can find documentation for this module with the perldoc command.
48
49 perldoc threads::lite
50
51 You can also look for information at:
52
53 • RT: CPAN's request tracker
54
55 <http://rt.cpan.org/NoAuth/Bugs.html?Dist=threads-lite>
56
57 • AnnoCPAN: Annotated CPAN documentation
58
59 <http://annocpan.org/dist/threads-lite>
60
61 • CPAN Ratings
62
63 <http://cpanratings.perl.org/d/threads-lite>
64
65 • Search CPAN
66
67 <http://search.cpan.org/dist/threads-lite>
68
70 Copyright 2009, 2010 Leon Timmermans, all rights reserved.
71
72 This program is free software; you can redistribute it and/or modify it
73 under the same terms as Perl itself.
74
75
76
77perl v5.34.0 2021-07-27 threads::lite::tid(3)