Sponsored Content
Full Discussion: help to post a thread
Contact Us Forum Support Area for Unregistered Users & Account Problems help to post a thread Post 302200976 by Neo on Friday 30th of May 2008 01:44:25 PM
Old 05-30-2008
Congrats!

You just posted a thread.
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

how to post a thread

I am not getting post new thread button when i was logged in. tell me how to do this. i want to print data between two lines in a file into another file. which command should i use in UNIX (0 Replies)
Discussion started by: kamesh83
0 Replies

2. Forum Support Area for Unregistered Users & Account Problems

Help I can not Post a Thread

I can not Post a Thread. (1 Reply)
Discussion started by: spiderman3k
1 Replies

3. Forum Support Area for Unregistered Users & Account Problems

i cannot able to post the thread

hi, Pls help me .. i cannot able to post the threads (1 Reply)
Discussion started by: am_73798
1 Replies

4. Post Here to Contact Site Administrators and Moderators

How do I post new thread

Can you tell me how to post a new thread? Please help me ASAP. Thanks, Dipakg (2 Replies)
Discussion started by: dipakg
2 Replies

5. Post Here to Contact Site Administrators and Moderators

How to post a new thread

Im new to this forum. can you guide me how to post a new thread. Thanks in advance Hari (3 Replies)
Discussion started by: Hari123
3 Replies

6. Post Here to Contact Site Administrators and Moderators

Can't post new thread

Hi, I've tried 3 times to post a new thread and for whatever reason it's not happening, hope you can help Thanks (11 Replies)
Discussion started by: saddlerken
11 Replies

7. Post Here to Contact Site Administrators and Moderators

i can not post new thread

Hi scoot Hope you are doing well!! I didn't post any new thread, is their any problem in my access could you please check it and let me know. Previously posted threads was one of my interview question and i didn't understand how to solve , i am a new for shell script, i didn't find any help... (2 Replies)
Discussion started by: ksakil
2 Replies

8. Forum Support Area for Unregistered Users & Account Problems

Not able to post thread/reply to thread

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

9. Post Here to Contact Site Administrators and Moderators

How to post a new thread?

Just joined and registered 15 minutes ago. Can't figure out how to post a new question about 'grep' I searched and found that I need to click the 'New Thread' button, I couldn't see any 'New Thread' buttons anywhere, so I searched around and ended up here where I DO see a 'new thread' button....... (3 Replies)
Discussion started by: TuftyDave
3 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)
All times are GMT -4. The time now is 07:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy