9 More Discussions You Might Find Interesting
1. Forum Support Area for Unregistered Users & Account Problems
I'm getting the following error (or something similar) whenever I try to view a thread when I'm logged in.
That is, I login, hit "New Posts", get a list of theads, click on one (in this example is was the "Not allowed to post URLs" thread), then get the following HTML error page instead of the... (1 Reply)
Discussion started by: cnamejj
1 Replies
2. How to Post in the The UNIX and Linux Forums
Hello,
Is there a way to display all of the posts I have authored?
Many thanks in advance. (2 Replies)
Discussion started by: Anamika08
2 Replies
3. Forum Support Area for Unregistered Users & Account Problems
I am unable to post reply to a thread. Whenever I will reply to any post I get the message every time :
The message you have entered is too short. Please lengthen your message to at least 5 characters.
Even though length of the message is more than required (1 Reply)
Discussion started by: Unregistered
1 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Hi Admin
I got the error message as follows when I reply or create new thread.
To reply to threads in this forum your post count must be 10 or greater.
You currently have 9 posts.
Is there any problems with my account?
How I can reach the 10 replies? I cann't post any replies now.
... (1 Reply)
Discussion started by: ambious
1 Replies
5. Forum Support Area for Unregistered Users & Account Problems
hi
when ever i am trying to post any new thread i am getting the following error.
anshaa, you do not have permission to access this page. This could be due to one of several reasons:
Your user account may not have sufficient privileges to access this page. Are you trying to edit someone... (1 Reply)
Discussion started by: anshaa
1 Replies
6. HP-UX
Hi,
I have a process which creates pthreads to generate some reports. After creating the reports these threads return null. But after 1024 threads, the process is not able to create any threads further.,and at max 5 threads are existing simultaneously and are returning the control back after... (2 Replies)
Discussion started by: Krsh
2 Replies
7. 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
8. Forum Support Area for Unregistered Users & Account Problems
I have not received an email to activate my account having waited over 6 hours.
I have tried reseting my password but still do not receive any email.
I have specified the correct address and do not have any filters or anything stopping the email getting to my inbox.
Please advise as this... (0 Replies)
Discussion started by: pure_j4x
0 Replies
9. Forum Support Area for Unregistered Users & Account Problems
I am unable to post though I am a registered user. User id mspaper123 (1 Reply)
Discussion started by: New User
1 Replies
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)