From b0a07c7a4ba269825eac50ce7d4774f9e34840dd Mon Sep 17 00:00:00 2001 From: Bill Meltsner Date: Sat, 5 Mar 2011 23:18:54 -0500 Subject: [PATCH] the merge screwed up the new thread API, fixed --HG-- branch : minor --- src/modules/thread/sdl/wrap_Thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/thread/sdl/wrap_Thread.cpp b/src/modules/thread/sdl/wrap_Thread.cpp index 75b805eb7..25409c773 100644 --- a/src/modules/thread/sdl/wrap_Thread.cpp +++ b/src/modules/thread/sdl/wrap_Thread.cpp @@ -77,7 +77,7 @@ namespace sdl Thread *t = luax_checkthread(L, 1); std::string name = luax_checklstring(L, 2); t->lock(); - ThreadVariant *v = t->receive(name); + ThreadVariant *v = t->get(name); t->clear(name); t->unlock(); if (!v) @@ -167,7 +167,7 @@ namespace sdl Thread *t = luax_checkthread(L, 1); std::string name = luax_checklstring(L, 2); t->lock(); - ThreadVariant *v = t->receive(name); + ThreadVariant *v = t->get(name); t->unlock(); if (!v) {