Sponsored Content
Operating Systems Solaris Installing Solaris inside zone using automated installer Post 302971676 by Don Cragun on Saturday 23rd of April 2016 05:52:39 PM
Old 04-23-2016
I'm glad to hear that you found a solution to your problem.

You don't need a moderator to lock a thread for you (although I have marked this thread as solved for you). You can (and are encouraged to) mark the thread as SOLVED when you have found a solution to your problem. To do so, hit the "Edit Tags" string at the top right corner of the Tags section at the top of any page in your thread, type in the tag "solved", and then hit return twice or hit the "Save Changes" button.
 

3 More Discussions You Might Find Interesting

1. Solaris

Postprocess issue installing Solaris 9 Branded Zone

Hello, I am attempting to install a newly configured Solaris 9 zone using the flash archive image provided on the sun website. Each time I run the install I get a failure during the Postprocess: Creating mount points. Following is the log: Log File: /var/tmp/s9-zone.install.25457.log... (0 Replies)
Discussion started by: brialt1
0 Replies

2. Shell Programming and Scripting

getting number of disks inside a solaris zone

Friends, I am really stuck on this one. In solaris i can get the number of disks using this command --> pfexec format | egrep -v "Searching|AVAILABLE|Specify|^$|@" | wc -l But when applying this command inside a solaris zone ,the format command doesnt work. any ideas on how i can go about it (1 Reply)
Discussion started by: achak01
1 Replies

3. Solaris

Solaris 11 Global zone patching having Solaris 10 branded zone

I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies
pthread_rwlock_trywrlock(3)				     Library Functions Manual				       pthread_rwlock_trywrlock(3)

NAME
pthread_rwlock_trywrlock - Attempts to acquire a read-write lock for write access without waiting. LIBRARY
DECthreads POSIX 1003.1c Library (libpthread.so) SYNOPSIS
#include <pthread.h> int pthread_rwlock_trywrlock( pthread_rwlock_t *rwlock); PARAMETERS
Address of the read-write lock object to acquire for write access. DESCRIPTION
This routine attempts to acquire the read-write lock referenced by rwlock for write access. If any thread already holds that lock for write access or read access, this routine fails and returns [EBUSY] and the calling thread does not wait for the lock to become available. Results are undefined if the calling thread holds the read-write lock (whether for read or write access) at the time this routine is called. If the read-write lock object referenced by rwlock is not initialized, the results of calling this routine are undefined. Realtime applications can encounter priority inversion when using read-write locks. The problem occurs when a high-priority thread acquires a read-write lock that is about to be unlocked (that is, posted) by a low-priority thread, but the low-priority thread is preempted by a medium-priority thread. This scenario leads to priority inversion in that a high-priority thread is blocked by lower-priority threads for an unlimited period of time. During system design, realtime programmers must take into account the possibility of priority inversion and can deal with it in a number of ways, such as by having critical sections that are guarded by read-write locks execute at a high priority, so that a thread cannot be preempted while executing in its critical section. RETURN VALUES
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows: Successful completion. The read-write lock could not be acquired for write access because it was already locked for write access or for read access. The value specified by rwlock does not refer to an initialized read-write lock object. The current thread already owns the read-write lock for write or read access. ERRORS
None RELATED INFORMATION
Functions: pthread_rwlock_init(3), pthread_rwlockattr_init(3), pthread_rwlock_rdlock(3), pthread_rwlock_wrlock(3), pthread_rwlock_unlock(3) Manuals: Guide to DECthreads and Programmer's Guide delim off pthread_rwlock_trywrlock(3)
All times are GMT -4. The time now is 11:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy