Sponsored Content
Full Discussion: newbe looking for extra help
Top Forums UNIX for Dummies Questions & Answers newbe looking for extra help Post 48123 by lisdog58 on Thursday 26th of February 2004 10:15:43 PM
Old 02-26-2004
newbe looking for extra help

Hi all, i'm new here and to Unix and have a question about more help then I am getting. I live basically in Portland, OR and am attending college and have to take some Unix classes for my degree. Well class is fine and the help from the instructor is ok but I would like to receive more help then he is giving. I find Unix very intriguing and would like to learn more but I am feeling kind of starved for information...

Any help would be outstanding.

Thanks
lisdog58
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Total Newbe,how do I start????

I am totaly new at Unix, and have a job offer in about 6 months if I can get a handle on Unix comand lines and other needed things to get this job.Please help me I really want this job.I am about to finish my A+ cert., and have studied for the MCSE 4.0 (paid for a school and then Microsoft... (7 Replies)
Discussion started by: Chip1856
7 Replies

2. Linux

Newbe Linux user with his first question...

Okay, I have Mandrake Linux 9.1. I'm trying to set up different software sources from the source manager. My problem is, I know where I want the software to come from, but I don't know what to put in the "Relative path to synthesis/hdlist" area. Can someone help me and explain exactly what the... (3 Replies)
Discussion started by: Shadowmane
3 Replies

3. UNIX for Dummies Questions & Answers

Unix Newbe

Hi, First of all. I'm a Unix newbe and never worked with unix (but I have got Linux for a few months), but I'd like to know where to get Unix or if it's x86 compatibel and all those questions. I know...ridiculous questions, but I really wanna know this. So: Where do I get Unix? Is it compatible... (1 Reply)
Discussion started by: Kotzkroete
1 Replies

4. UNIX for Dummies Questions & Answers

newbe to linux and beryl

in new to the Linux os just install kubuntu with has beryl went through the whole deal with setting up everything and was wondering if anybody could help me figure out beryl i basically understand how it works but getting it to do the cube thing escape me help........:confused: (0 Replies)
Discussion started by: ksnovice
0 Replies

5. IP Networking

NEWBE Slice

I new to linux and am setting up a slice server. I actually made it to installing Apache but some how I messed up the ip tables. I cant access the server by sftp or putty. Im using the web interface at slice. I am logged in as a super user but cant do certain funtions. I guess i need to be logged... (0 Replies)
Discussion started by: DigitalExtreme
0 Replies

6. UNIX for Dummies Questions & Answers

installation on extra HD

3/19 List members: I have an extra HD in my early 2009 Intel Mac running OS 10.7.3 and Windows. Both of the latter systems have their own HD's devoted to them. On this extra HD I'd like to install Free BSD or any other version of Unix that is close to the version on which Apple bases its... (0 Replies)
Discussion started by: mark1411
0 Replies

7. Red Hat

Cannot see extra Memory

Hi, I upgraded the physical memory on my RHEL5 server (BL460cG7) from 32G to 128G. When I rebooted the box I can see from the "hpasmcli" that the 128G memory has installed correctly. However when I run a "free" command I can only see 64G of physical RAM? Is there a restriction on the max... (2 Replies)
Discussion started by: Duffs22
2 Replies

8. UNIX for Dummies Questions & Answers

Remove Extra Delimiter

Hi , I have file like this.. aaa|bbbb|cccc|dddd|fff|dsaaFFDFD| Adsads|sas|sa|as|asa|saddas|dsasd|sdad| dsas|dss|sss|sss|ddd|dssd|rrr|fddf| www|fff|refd|dads|fsdf|00sd| 5fgdg|dfs00|d55f|sfds55|445fsd|55ds|sdf| so I do no have any fix pattern and I want to remove extra... (11 Replies)
Discussion started by: pankajchaudhari
11 Replies
PTHREAD_RWLOCKATTR_SETKIND_NP(3)			     Library Functions Manual				  PTHREAD_RWLOCKATTR_SETKIND_NP(3)

NAME
pthread_rwlockattr_setkind_np, pthread_rwlockattr_getkind_np - set/get the read-write lock kind of the thread read-write lock attribute object SYNOPSIS
#include <pthread.h> int pthread_rwlockattr_setkind_np(pthread_rwlockattr_t *attr, int pref); int pthread_rwlockattr_getkind_np(const pthread_rwlockattr_t *attr, int *pref); Compile and link with -pthread. Feature Test Macro Requirements for glibc (see feature_test_macros(7)): pthread_rwlockattr_setkind_np(), pthread_rwlockattr_getkind_np(): _XOPEN_SOURCE >= 500 || _POSIX_C_SOURCE >= 200809L DESCRIPTION
The pthread_rwlockattr_setkind_np() function sets the "lock kind" attribute of the read-write lock attribute object referred to by attr to the value specified in pref. The argument pref may be set to one of the following: PTHREAD_RWLOCK_PREFER_READER_NP This is the default. A thread may hold multiple read locks; that is, read locks are recursive. According to The Single Unix Speci- fication, the behavior is unspecified when a reader tries to place a lock, and there is no write lock but writers are waiting. Giv- ing preference to the reader, as is set by PTHREAD_RWLOCK_PREFER_READER_NP, implies that the reader will receive the requested lock, even if a writer is waiting. As long as there are readers, the writer will be starved. PTHREAD_RWLOCK_PREFER_WRITER_NP This is intended as the write lock analog of PTHREAD_RWLOCK_PREFER_READER_NP. But see BUGS. PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP Setting the lock kind to this avoids writer starvation as long as any read locking is not done in a recursive fashion. The pthread_rwlockattr_getkind_np() function returns the value of the lock kind attribute of the read-write lock attribute object referred to by attr in the pointer pref. RETURN VALUE
On success, these functions return 0. Given valid pointer arguments, pthread_rwlockattr_getkind_np() always succeeds. On error, pthread_rwlockattr_setkind_np() returns a non-zero error number. ERRORS
EINVAL pref specifies an unsupported value. BUGS
Setting the value read-write lock kind to PTHREAD_RWLOCK_PREFER_WRITER_NP results in the same behavior as setting the value to PTHREAD_RWLOCK_PREFER_READER_NP. As long as a reader thread holds the lock, the thread holding a write lock will be starved. Setting the lock kind to PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP allows writers to run, but, as the name implies a writer may not lock recur- sively. VERSIONS
The pthread_rwlockattr_getkind_np() and pthread_rwlockattr_setkind_np() functions first appeared in glibc 2.1. CONFORMING TO
These functions are non-standard GNU extensions; hence the suffix "_np" (non-portable) in the names. SEE ALSO
pthreads(7) Linux Programmer's Manual 2014-10-15 PTHREAD_RWLOCKATTR_SETKIND_NP(3)
All times are GMT -4. The time now is 08:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy