Roman Bogorodskiy 356bf55e98 Fix locking in virsh console
vshRunConsole() uses virCondWait() which is a wrapper around
pthread_cond_wait(). On FreeBSD, pthread_cond_wait needs mutex to be
locked, otherwise it immediately fails with EPERM. On Linux, the
behaviour in this case is undefined.

So lock the mutex before calling virCondWait().
2014-03-10 14:51:32 +04:00
..
2014-02-26 10:36:42 -07:00
2014-03-10 14:51:32 +04:00
2014-03-10 10:50:06 +01:00
2014-03-10 10:50:06 +01:00