From 7b90a331bf1caecfa1ba1e2f3e7f87fa01c389b9 Mon Sep 17 00:00:00 2001 From: moteus Date: Thu, 26 Dec 2013 13:08:45 +0400 Subject: Fix. load library on Lua 5.2 --- README.md | 1 + msvc/llthreads.vcproj | 12 ++++++------ src/l52util.c | 5 +++++ src/l52util.h | 5 +++++ src/llthread.c | 24 ++++++++++++------------ 5 files changed, 29 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 3e2661a..2ca6f36 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ lua-llthreads2 This is full dropin replacement for [llthreads](https://github.com/Neopallium/lua-llthreads) library. ##Incompatibility list with origin llthreads library +* does not support Lua 5.0 * does not support ffi interface (use Lua C API for LuaJIT) * returns nil instead of false on error * start method returns self instead of true on success diff --git a/msvc/llthreads.vcproj b/msvc/llthreads.vcproj index 7b2a0e2..6f6c5bd 100644 --- a/msvc/llthreads.vcproj +++ b/msvc/llthreads.vcproj @@ -41,7 +41,7 @@ thread = (HANDLE)_beginthreadex(NULL, 0, llthread_child_thread_run, child, 0, NULL); if(INVALID_THREAD == this->thread){ - rc = -1 + rc = -1; } #else rc = pthread_create(&(this->thread), NULL, llthread_child_thread_run, child); -- cgit v1.2.3-55-g6feb