commit | cc794b91f6dbff22ae63d6609b11f376965151b4 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Dec 02 16:44:34 2020 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Wed Dec 02 21:53:16 2020 +0100 |
tree | d905c4bba42c080c6258e24db1b303cb441ba7af | |
parent | 46278ff8286cde41e0f267c1d385661d6d20dff5 [diff] |
REGTESTS: add a test for the threaded Lua code This is simply txn_get_priv.vtc with the loading made using lua-load-per-thread, allowing all threads to run independently. There's nothing global nor thread-specific in this test, which makes an excellent example of something that should work out of the box. Four concurrent clients are initialized with 4 loops each so as to give a little chance to various threads to run concurrently.