10-18-2013
doubled thread/post - closed
reopened and merged with the other thread - didn't notice it was an answer to Scotts post.
bakunin
Last edited by bakunin; 10-18-2013 at 01:39 PM..
8 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
Hello,
I'd like to post a aix thread but I'm unable to.
Please let me know why this is happening.
Thanks.... (1 Reply)
Discussion started by: sullivjp
1 Replies
2. Post Here to Contact Site Administrators and Moderators
And frankly, I'm a bit miffed by it.
I had thanked the person who suggested a solution to the issue, pasted code to a shell script that may have helped other users, and was courteous, witty and all that the best forum admins look for in a member/contributor/poster.
Now it's gone, with no... (1 Reply)
Discussion started by: SilversleevesX
1 Replies
3. Shell Programming and Scripting
i have a html file with uploads a file and sends the username to a .cgi file using post method.
the part of code in the cgi file is as below. i am able to get the filename but not able to get the username thats getting posted to the file how to know the value of username. i am trying to store... (2 Replies)
Discussion started by: sasidhdv
2 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hi, Admin, I have met a problem that I cannot post new thread and reply after register.
It reminds some information as shown in the below:
case 1:
To create new threads in this forum your post count must be 10 or greater.
You currently have 0 posts.
case 2:
To reply to threads in this forum... (1 Reply)
Discussion started by: Unregistered
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
Hi, Scott, I am still meet a problem when I want to reply or create a new thread in "Shell Programming and Scripting" Forum, It reminds that:
To create new threads in this forum your post count must be 10 or greater.
You currently have 2 posts.
To my surprise, I posted a thread in "Shell... (4 Replies)
Discussion started by: weichanghe2000
4 Replies
6. Forum Support Area for Unregistered Users & Account Problems
Dear Moderator
I am not able to post any new thread or post reply to mine old thread.
Kindly help as i am stuck on one problem and needed suggestion.
Regards
Jaydeep (1 Reply)
Discussion started by: jaydeep_sadaria
1 Replies
7. How to Post in the The UNIX and Linux Forums
I have a trouble here. I posted couple of questions and got some reply but when i go ahead and do a reply/quick reply to the question asked it doesn't goes.
it simply keep on displaying the message "Posting quick reply please wait" and that wait never ends.
I am not able to do a reply :(... (3 Replies)
Discussion started by: Sharma331
3 Replies
8. What is on Your Mind?
Hey
You may have noticed I changed the navbar at the top a bit. I've almost finished converting the navbar to divs from table tags.
In addition, for unregistered users, instead of seeing a "New Reply" button, unregistered users see a "Login to Reply" and icon which looks the same as our... (2 Replies)
Discussion started by: Neo
2 Replies
LEARN ABOUT HPUX
sem_post
sem_post(2) System Calls Manual sem_post(2)
NAME
sem_post - unlock a POSIX semaphore
SYNOPSIS
DESCRIPTION
is used to post the semaphore referenced by sem. The calling thread will not return from its call to unless it can either: increment the
semaphore value, if there are no blocked threads on this semaphore; give the semaphore to a blocked thread, if there are any blocked
threads on this semaphore; or have an error condition.
If the semaphore value is < 0, the semaphore has blocked threads, waiting for it to become available (the absolute value of the semaphore's
value indicates the number of waiters at that moment). If the semaphore value is >= 0, the semaphore has no waiters.
If the semaphore has no waiters at the time its value is checked, the semaphore's value will be atomically incremented, with respect to the
checking of its value, up to its maximum value as specified by If the semaphore has waiters at the time its value is checked, the semaphore
value is not changed. Instead, the calling thread will attempt to wake up a waiter. If the semaphore has waiters having realtime priori-
ties, the thread must wake up the highest priority waiter. Otherwise the thread at the head of the channel queue is woken up.
When a waiter is successfully woken, the semaphore being posted will be given to the woken waiter. In other words, the state of the sema-
phore remains unchanged. Instead, the semaphore being posted will be inherited by the waiter being woken from this call to
If the specified semaphore referred to by sem is a named semaphore, then this semaphore must have been opened by the calling process with
The calling process must have both read and write permissions on the semaphore to perform this operation. The routine may be called asyn-
chronously, i.e. from a signal handler.
To use this function, link in the realtime library by specifying on the compiler or linker command line.
EXAMPLES
The following call to will post the semaphore sem.
RETURN VALUE
A successful call to will return 0 and the calling thread would have posted the semaphore. Otherwise, the call to will return -1 with
errno set to the appropriate value of the error condition.
ERRORS
fails and does not perform the requested operation if any of the following conditions are encountered:
[EPERM] The calling process does not have the privileges necessary to post the semaphore.
[EINVAL] The argument sem does not refer to a valid semaphore.
SEE ALSO
<semaphore.h>.
STANDARDS CONFORMANCE
sem_post(2)