search for: out_work

Displaying 3 results from an estimated 3 matches for "out_work".

Did you mean: auth_work
2012 Mar 11
2
[patch] Threading support in ssh-agent
...thread_cond_signal(enqueue): %s", strerror(errno)); + } + } + q->used++; + pthread_mutex_unlock(&(q->lock)); + return 0; +} + +void thread_lock(struct Thread* t); +void thread_unlock(struct Thread* t); + +int +req_queue_unlock_thread_get_and_lock_thread(struct Thread* t, AuthWorker* out_worker, SocketEntry** out_e) +{ + + struct AuthRequestQueue* q = t->queue; + + pthread_mutex_lock(&(q->lock)); + thread_unlock(t); + + if (q->inprogress > 0) { + q->inprogress--; + } + + while (q->used <= 0) { + if (pthread_cond_wait(&(q->cond), &(q->lock))) { +...
2008 Dec 10
6
[PATCH 0/6] Clean up virtio device object handling [was Re: [PATCH] virtio: make PCI devices take a virtio_pci module ref]
(Moved from kvm at vger to virtualization at linux-foundation, changed subject, cleaned up cc list) On Wed, 2008-12-10 at 13:02 +0100, Kay Sievers wrote: > On Wed, Dec 10, 2008 at 10:49, Mark McLoughlin <markmc at redhat.com> wrote: > > On Tue, 2008-12-09 at 19:16 +0100, Kay Sievers wrote: > >> On Tue, Dec 9, 2008 at 17:41, Mark McLoughlin <markmc at redhat.com>
2008 Dec 10
6
[PATCH 0/6] Clean up virtio device object handling [was Re: [PATCH] virtio: make PCI devices take a virtio_pci module ref]
(Moved from kvm at vger to virtualization at linux-foundation, changed subject, cleaned up cc list) On Wed, 2008-12-10 at 13:02 +0100, Kay Sievers wrote: > On Wed, Dec 10, 2008 at 10:49, Mark McLoughlin <markmc at redhat.com> wrote: > > On Tue, 2008-12-09 at 19:16 +0100, Kay Sievers wrote: > >> On Tue, Dec 9, 2008 at 17:41, Mark McLoughlin <markmc at redhat.com>