Sponsored Content
Full Discussion: Homework Issues
Contact Us Post Here to Contact Site Administrators and Moderators Homework Issues Post 24550 by peter.herlihy on Sunday 14th of July 2002 07:49:04 PM
Old 07-14-2002
An ongoing issue this one I know....I just replied to a thread which clearly was homework (they stated it was!). What I suggested to them was firstly to read the rules (of course) and then to use the search functionality - as a form of research.

Having studied myself, something like this forum has a lot of information that would be helpful - seeing other real world examples to 'help' me figure out my problems. I would suggest that while we definitely won't do peoples homework for them... a standard response which is a bit friendlier than 'go away' would be 'read the rules - and - use the search'

Thoughts?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

pkgadd issues

Please inform me on how I can resolve the PaTcH_MsG 8 Version message below I am running solaris 9 9/05 HW on a Sun V445. Thank you. # pkgadd SUNWqlc Processing package instance <SUNWqlc> from </var/spool/pkg> Qlogic ISP 2200/2202 Fibre Channel Device Driver (sparc)... (3 Replies)
Discussion started by: GLJ@USC
3 Replies

2. Shell Programming and Scripting

SU issues

Hi, I have automated a build process that does the following activities. 1. check out code from cvs to a specific directory 2. build the revision checked out with 'ANT' 3. integrate the compiled code with the QA/UAT or new environment (/apps/QA or /apps/UAT or /apps/new directory) I... (1 Reply)
Discussion started by: yoi2hot4ya
1 Replies

3. Shell Programming and Scripting

while loop issues

Hi guys, Been sifting through these forums for awhile, but never had an account or needed to post. Shoutouts to a great forum with heaps of useful info. Now i consider myself a noob when it comes to linux and to bash scripting. I recently started to learn to use Vmware ESX server which uses... (4 Replies)
Discussion started by: ryath
4 Replies

4. IP Networking

Firewall issues

I am using freespire 2.0.8 and am unable to get any peer to peer program to work past a firewall. I am not sure where the firewall is ( I didn't set anything up in Freespire). My guess is/was the router as I am using a wireless connection. I just replaced my linksys wrk54G with a Netgear WGR614 and... (1 Reply)
Discussion started by: Paul K
1 Replies

5. Emergency UNIX and Linux Support

rm -rf issues

We are using the solaris server and if i am using rm -rf to delete the directories its asking the confirmation for each and every file inside the directory.Is there any way to disable ( should not ask the confirmation) only for a particular session? (12 Replies)
Discussion started by: sureshbabuc
12 Replies

6. UNIX and Linux Applications

Issues with squid

Hello, I have been trying to setup the following squid configuration http://veloso.org/SquidConfig/SquidConfig.html but every time I get to start squid I get the following error- 2012/05/28 10:31:12| WARNING: redirector #1 (FD 7) exited 2012/05/28 10:31:12| WARNING: redirector #2 (FD 9)... (2 Replies)
Discussion started by: jamie_123
2 Replies

7. Shell Programming and Scripting

Mailx issues

I've my below script compile.yk. This compiles programs in batch and any failed to compile modules will be mailed to my attention. cd /inv1/io13000/mbmport/mbmerr ERRFL=/inv1/io13000/srcport/$$_errorlist.txt X=`ls *.c?? |wc -l` if then echo "Review library path:... (0 Replies)
Discussion started by: Yuvaraj737
0 Replies

8. Linux

Issues with ksh

We are using ksh on Linux (Thats what architect told me). 1) When I am using up and down arrow key, I can not navigate to previous and next commands. How can I navigate commands in ksh ? Someone told me that I need to have bash shell installed ? Can I have bash shell installed on ksh ? OR can I... (3 Replies)
Discussion started by: paramshamnani
3 Replies

9. Red Hat

Issues after update

Hi guys, thanks for your kind assistance. I have a rhel6.4 server. After I did an update, the server does not reboot. Also user logins take for ever. Please any help on this matter will be appreciated . Thank you (2 Replies)
Discussion started by: cjashu
2 Replies
SEM_WAIT(2)						      BSD System Calls Manual						       SEM_WAIT(2)

NAME
sem_trywait, sem_wait -- lock a semaphore SYNOPSIS
#include <semaphore.h> int sem_trywait(sem_t *sem); int sem_wait(sem_t *sem); DESCRIPTION
The semaphore referenced by sem is locked. When calling sem_wait(), if the semaphore's value is zero, the calling thread will block until the lock is acquired or until the call is interrupted by a signal. Alternatively, the sem_trywait() function will fail if the semaphore is already locked, rather than blocking on the semaphore. If successful (the lock was acquired), sem_wait() and sem_trywait() will return 0. Otherwise, -1 is returned and errno is set, and the state of the semaphore is unchanged. ERRORS
sem_wait() and sem_trywait() succeed unless: [EAGAIN] The semaphore is already locked. [EDEADLK] A deadlock was detected. [EINTR] The call was interrupted by a signal. [EINVAL] sem is not a valid semaphore descriptor. NOTES
Applications may encounter a priority inversion while using semaphores. When a thread is waiting on a semaphore which is about to be posted by a lower-priority thread and the lower-priority thread is preempted by another thread (of medium priority), a priority inversion has occured, and the higher-priority thread will be blocked for an unlimited time period. Programmers using the realtime functionality of the system should take care to avoid priority inversions. SEE ALSO
sem_open(2), sem_post(2), semctl(2), semget(2), semop(2) HISTORY
sem_wait() and sem_trywait() are specified in the POSIX Realtime Extension (1003.1b-1993/1003.1i-1995). Darwin June 8, 2000 Darwin
All times are GMT -4. The time now is 04:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy