diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/index.html | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/index.html b/docs/index.html index 6337647..c4a6441 100644 --- a/docs/index.html +++ b/docs/index.html | |||
@@ -70,7 +70,7 @@ | |||
70 | </p> | 70 | </p> |
71 | 71 | ||
72 | <p> | 72 | <p> |
73 | This document was revised on 26-Feb-14, and applies to version <tt>3.9.2</tt>. | 73 | This document was revised on 27-Feb-14, and applies to version <tt>3.9.3</tt>. |
74 | </p> | 74 | </p> |
75 | </font> | 75 | </font> |
76 | </center> | 76 | </center> |
@@ -1038,7 +1038,7 @@ | |||
1038 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre> | 1038 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"><tr><td><pre> |
1039 | h = lanes.linda( [opt_name, [opt_group]]) | 1039 | h = lanes.linda( [opt_name, [opt_group]]) |
1040 | 1040 | ||
1041 | [true|lanes.cancel_error] = h:send( [timeout_secs,] key, ...) | 1041 | [true|lanes.cancel_error] = h:send( [timeout_secs,] [h.null,] key, ...) |
1042 | 1042 | ||
1043 | [key, val]|[lanes.cancel_error] = h:receive( [timeout_secs,] key [, ...]) | 1043 | [key, val]|[lanes.cancel_error] = h:receive( [timeout_secs,] key [, ...]) |
1044 | 1044 | ||
@@ -1071,6 +1071,10 @@ | |||
1071 | <tt>send()</tt> returns <tt>true</tt> if the sending succeeded, and <tt>false</tt> if the queue limit was met, and the queue did not empty enough during the given timeout. | 1071 | <tt>send()</tt> returns <tt>true</tt> if the sending succeeded, and <tt>false</tt> if the queue limit was met, and the queue did not empty enough during the given timeout. |
1072 | <br/> | 1072 | <br/> |
1073 | (Since version 3.7.8) <tt>send()</tt> returns <tt>lanes.cancel_error</tt> if interrupted by a soft cancel request. | 1073 | (Since version 3.7.8) <tt>send()</tt> returns <tt>lanes.cancel_error</tt> if interrupted by a soft cancel request. |
1074 | <br/> | ||
1075 | If no data is provided after the key, <tt>send()</tt> raises an error. Since version 3.9.3, if provided with <tt>linda.null</tt> before the actual key and there is no data to send, <tt>send()</tt> sends a single <tt>nil</tt>. | ||
1076 | <br/> | ||
1077 | Also, if <tt>linda.null</tt> is sent as data in a linda, it will be read as a <tt>nil</tt>. | ||
1074 | </p> | 1078 | </p> |
1075 | 1079 | ||
1076 | <p> | 1080 | <p> |