09-16-2004
Re: Re: Off-Topic Section? Holy hell, I've been gone a while...
Quote:
Originally posted by Neo
So, far experiences with 'off topic' threads seem to validate our earlier concerns that they are a distraction and a waste of forum resources.
The good news is that there are not many off topic threads
dont diss my forum else ill have to lock this thread!!
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've just installed redhat 6.2 on one of my systems and am trying to install the gcc c compiler after downloading an rpm from the redhat site. The damn thing gives me:
only major numbers <= 3 are supported by this version of RPM
what do I do, it does the same with the latest rpm of php
... (7 Replies)
Discussion started by: knmwt15000
7 Replies
2. Shell Programming and Scripting
Hi everyone,
I have a requirement that requires me to fill an sqlite database with 100,000 entries (no duplicates).
I will start out by giving the command that will insert the values necessary to populate the database:
# sqlite /var/local/database/dblist "insert into list... (2 Replies)
Discussion started by: ogoy
2 Replies
3. Shell Programming and Scripting
I've been able to generate output based on the code scarfake provided me (thanks again man).
A little background so everyone more or less knows whats going on:
I needed code that would propagate a database with 100,000 entries, for capacity testing purposes, something like a stress test.
... (5 Replies)
Discussion started by: ogoy
5 Replies
4. UNIX for Dummies Questions & Answers
:eek: (1 Reply)
Discussion started by: Kevinfine
1 Replies
5. Shell Programming and Scripting
I have a list of Servers in no particular order as follows:
virtualMachines="IIBSBS IIBVICDMS01 IIBVICMA01"And I am generating some output from a pre-existing script that gives me the following (this is a sample output selection).
9/17/2010 8:00:05 PM: Normal backup using VDRBACKUPS... (2 Replies)
Discussion started by: jelloir
2 Replies
6. Shell Programming and Scripting
I have searched in a variety of ways in a variety of places but have come up empty.
I would like to prepend a portion of a section header to each following line until the next section header. I have been using sed for most things up until now but I'd go for a solution in just about anything--... (7 Replies)
Discussion started by: pagrus
7 Replies
LEARN ABOUT HPUX
pthread_rwlock_unlock
pthread_rwlock_unlock(3T) pthread_rwlock_unlock(3T)
NAME
pthread_rwlock_unlock() - unlock a read-write lock.
SYNOPSIS
PARAMETERS
rwlock Pointer to the read-write lock to be unlocked.
DESCRIPTION
The function is called by the owner to release the read-write lock referenced by rwlock. Results are undefined if the read-write lock
rwlock is not held by the calling thread.
If this function is called to release a read lock on the read-write lock rwlock and there are other read locks currently held on this read-
write lock, the read-write lock shall remain in the read locked state but without the current thread as one of its owners. If this function
releases the last read lock for this read-write lock, the object shall be put in the unlocked state with no owners.
If this function is called to release a write lock on the read-write lock rwlock, the read-write lock shall be put in the unlocked state
with no owners.
If the call to the function results in the read-write lock becoming unlocked and there are threads waiting to acquire the read-write lock
for writing, the scheduling policy is used to determine which thread shall acquire the read-write lock for writing. If there are threads
waiting to acquire the read-write lock object for reading, the scheduling policy is used to determine the order in which the waiting
threads shall acquire the read-write lock object for reading. If there are multiple threads blocked on rwlock for both read locks and
write locks, it is unspecified whether the readers will acquire the lock first or whether a writer will acquire the lock first.
Results are undefined if this function is called with an uninitialized read-write lock.
RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set).
ERRORS
For each of the following conditions, if the condition is detected, the function returns the corresponding error number:
[EINVAL] The value specified by rwlock does not refer to an initialized read-write lock object.
[EPERM] The current thread does not own the read-write lock.
AUTHOR
was developed by X/Open.
SEE ALSO
pthread_rwlock_init(3T), pthread_rwlock_destroy(3T), pthread_rwlock_rdlock(3T), pthread_rwlock_wrlock(3T), pthread_rwlock_tryrdlock(3T),
pthread_rwlock_trywrlock(3T).
STANDARDS CONFORMANCE
Pthread Library pthread_rwlock_unlock(3T)