Threads get/set instead of send/receive (issue #166)

--HG--
branch : minor
This commit is contained in:
Bart van Strien
2011-01-15 22:26:16 +01:00
parent 675e91dbc8
commit 6acacffb66
4 changed files with 13 additions and 13 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ namespace sdl
return name;
}
ThreadVariant *Thread::receive(const std::string & name)
ThreadVariant *Thread::get(const std::string & name)
{
lock();
ThreadVariant *v = comm->getValue(name);
@@ -282,7 +282,7 @@ namespace sdl
unlock();
}
void Thread::send(const std::string & name, ThreadVariant *v)
void Thread::set(const std::string & name, ThreadVariant *v)
{
lock();
comm->setValue(name, v);