From 2d5d798c24286f10c1bffd5ea4ac466c2c3a12fa Mon Sep 17 00:00:00 2001 From: Benoit Germain Date: Wed, 30 Mar 2011 19:16:39 +0200 Subject: New features * linda honors __tostring and __concat * new accessor linda:keys(), to retrieve the list of keys with pending data inside a linda * new lanes options packagepath and packagecpath, in case one needs to set them differently than the default --- docs/index.html | 37 ++++++++++++++++++++++++++++++++++--- 1 file changed, 34 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/index.html b/docs/index.html index ba25515..7d61d96 100644 --- a/docs/index.html +++ b/docs/index.html @@ -263,6 +263,19 @@ also in the new lanes. Implementation and dependability of priorities varies by platform. Especially Linux kernel 2.6 is not supporting priorities in user mode. + + + + + .packagepath +
.packagecpath + + + package.path and package.cpath overrides, if needed. + Specifying these when libs_str doesn't cause the package library to be loaded will generate an error. +
+ +

Each lane also gets a function set_debug_threadname() that it can use anytime to do as the name says. Supported debuggers are Microsoft Visual Studio (for the C side) and Decoda (for the Lua side). @@ -547,7 +560,18 @@ They can be used for making shared tables of storage among the lanes. Writing to a slot overwrites existing value, and clears any possible queued entries. Table access and send/receive can be used together; reading a slot essentially peeks the next outcoming value of a queue. -

+

+ + + +
+ [val]= linda_h:keys() +
+ +

+

+ A way to examine the slots in which a linda contains some pending data to be read. +