diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-03 10:26:47 +0100 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-12-03 10:26:47 +0100 |
commit | 307fd830eb168005a3ba3d557343284814757eff (patch) | |
tree | eb14512492d58e33585bc5df3f3d9b23d7308934 /CHANGES | |
parent | ca7657e24549acb8a2dd45fa81c309b5bf9f61ee (diff) | |
download | lanes-307fd830eb168005a3ba3d557343284814757eff.tar.gz lanes-307fd830eb168005a3ba3d557343284814757eff.tar.bz2 lanes-307fd830eb168005a3ba3d557343284814757eff.zip |
New method linda:restrict()
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -45,6 +45,7 @@ CHANGE 2: BGe 27-Nov-24 | |||
45 | - linda:deep() result no longer contains the raw C pointer of the Linda object. | 45 | - linda:deep() result no longer contains the raw C pointer of the Linda object. |
46 | - linda :receive(), :send(), :get(), :set(), :limit() return nil, error in case of problem. Returned values in case of success change too. | 46 | - linda :receive(), :send(), :get(), :set(), :limit() return nil, error in case of problem. Returned values in case of success change too. |
47 | - linda:limit() can be used to read the value if no new limit is provided. | 47 | - linda:limit() can be used to read the value if no new limit is provided. |
48 | - linda:restrict() can restrain the use of send/receive or set/get on any key. | ||
48 | - New __close metamethod that calls any suitable handler that was provided at Linda creation. | 49 | - New __close metamethod that calls any suitable handler that was provided at Linda creation. |
49 | - linda:dump() outputs <key>.limit as 'unlimited' instead of -1 for unlimited keys. | 50 | - linda:dump() outputs <key>.limit as 'unlimited' instead of -1 for unlimited keys. |
50 | - linda:wake() can wake up threads waiting for a Linda without doing any I/O on it. | 51 | - linda:wake() can wake up threads waiting for a Linda without doing any I/O on it. |