git-svn-id: svn://db.shs.com.ru/pip@970 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -633,11 +633,12 @@ public:
|
||||
if (i.performer) {
|
||||
i.performer->postQueuedEvent(__QueuedEvent(i.slot, i.dest, i.dest_o, sender));
|
||||
} else {
|
||||
if (sender->thread_safe_) i.dest_o->mutex_.lock();
|
||||
bool th = sender->thread_safe_;
|
||||
if (th) i.dest_o->mutex_.lock();
|
||||
i.dest_o->emitter_ = sender;
|
||||
((void( *)(void * ))i.slot)(i.dest);
|
||||
i.dest_o->emitter_ = 0;
|
||||
if (sender->thread_safe_) i.dest_o->mutex_.unlock();
|
||||
if (th) i.dest_o->mutex_.unlock();
|
||||
}
|
||||
#ifdef PIP_CXX11_SUPPORT
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user