diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2018-11-09 17:36:35 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2018-11-09 17:36:35 +0100 |
commit | 4cf34d684d287e9a4b614a0250fc2b9a6c3de8a4 (patch) | |
tree | 1d7882470a7eda564390a886353ffe831e11ee1f | |
parent | caccb51fa77375b89c0968bdb22798cd26dd5161 (diff) | |
download | lanes-4cf34d684d287e9a4b614a0250fc2b9a6c3de8a4.tar.gz lanes-4cf34d684d287e9a4b614a0250fc2b9a6c3de8a4.tar.bz2 lanes-4cf34d684d287e9a4b614a0250fc2b9a6c3de8a4.zip |
new API lanes.set_thread_affinity(), and et_debug_threadname implemented with win32 pthread
-rw-r--r-- | index.html | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -709,6 +709,22 @@ | |||
709 | </p> | 709 | </p> |
710 | 710 | ||
711 | 711 | ||
712 | <!-- affinity +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | ||
713 | <hr/> | ||
714 | <h2 id="affinity">Affinity</h2> | ||
715 | |||
716 | <table border="1" bgcolor="#E0E0FF" cellpadding="10" style="width:50%"> | ||
717 | <tr> | ||
718 | <td> | ||
719 | <pre> lanes.set_thread_affinity( affinity)</pre> | ||
720 | </td> | ||
721 | </tr> | ||
722 | </table> | ||
723 | <p> | ||
724 | Each thread can change its own affinity at will. This is also true for the main Lua state. | ||
725 | </p> | ||
726 | |||
727 | |||
712 | <!-- status +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> | 728 | <!-- status +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --> |
713 | <hr/> | 729 | <hr/> |
714 | <h2 id="status">Status</h2> | 730 | <h2 id="status">Status</h2> |