search for: thread_lock

Displaying 5 results from an estimated 5 matches for "thread_lock".

Did you mean: thread_block
2012 Mar 11
2
[patch] Threading support in ssh-agent
...->queue[off].worker = worker; + q->queue[off].e = e; + + if (q->used == 0) { + if (pthread_cond_signal(&(q->cond))) { + error("pthread_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->...
2006 Mar 30
8
iostat -xn 5 _donot_ update: how to use DTrace
on Solaris 10 5.10 Generic_118822-23 sun4v sparc SUNW,Sun-Fire-T200 I run #iostat -xn 5 to monitor the IO statistics on SF T2000 server. The system also have a heavy IO load, for some reason iostat donot refresh (no any update). It seems like iostat is calling pause() and stucked there. Also my HBA driver''s interrupt stack trace indicates there is a lot of swtch(), the overall IOPS
2008 Oct 08
4
Problem with dump stalling
Hi If I have the wrong list please feel free to redirect me. I'm running 7.0-RELEASE-p4 and trying to backup to an external USB drive. I'm using the following command dump -a0Lf /backup/diskimages/root /dev/mfid0s1a Where df: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/mfid0s1a 507630 208436 258584 45% / /dev/da1s1d 709513458
2008 Jun 08
4
Location of ancillary files
Let''s say, for example, that I want to create an order form and that I want to assign an order number to each submitted order form for tracking purposes. So, I create a little file to store the latest number. Then when a new order comes in, I grab that number, increment it by one, assign the incremented number to the order, and finally replace the number that''s in the file with
2008 Sep 01
3
bin/121684: : dump(8) frequently hangs
Any progress here? Does anyone know if this will be fixed in 7.1 latest, or should we start looking for different backup solution (in this case I would suggest to remove dump from the source tree - having a backup tool that doesn't work is worse than having none). After upgrading we basically cannot backup our servers. Shouldn't this issue be on