Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Semaphore error
Name: ChrisR Date: December 15, 2000 at 12:13:40 Pacific
Comment:
On the Sun Solaris 2.6 with no semaphores or shared memory running my program gets hung (stops no errors) on the following line: semlock(sem_init(gettoken(1),5,"0660",0) The program compiles OK with no errors or warning. Anyone have any ideas on things to check.
Name: John Date: December 21, 2000 at 12:45:45 Pacific
Reply:
Make sure your using the union statement for the semctl. Without the union statement it will compile ok but not run. Unions are required for semctl. Hope this helps.
Summary: I have a script that gives me the following error: Hi there, % Used Warn Filesystem Name CURRENT DISKSPACE STATUS ./diskspace.sh[25]: 0403-057 Syntax error at line 70 : `(' is not expected. The script...