5 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How can I view a list of my posts.? (5 Replies)
Discussion started by: drew77
5 Replies
2. Forum Support Area for Unregistered Users & Account Problems
Hey Scott, what's going on? I still can't post. After you sent me private message I can't reply to it. It says I have to have 10 posts to reply. And what do you mean why I need 10 posts - I needed 10 posts to ask a question.
From the beginning:
1. I registered to ask a question.
2. I activated... (3 Replies)
Discussion started by: useretail
3 Replies
3. Post Here to Contact Site Administrators and Moderators
Dears,
Kindly I'm using the fourm for the first time and I don't know how to send my questions in a post.
your clarification is highly appreciated
BR. (1 Reply)
Discussion started by: engwzwz
1 Replies
4. Post Here to Contact Site Administrators and Moderators
can you please advise how can I find my posts/answers. is there some kind of search that will allow you to "find all posts by this user" (2 Replies)
Discussion started by: shed
2 Replies
5. Post Here to Contact Site Administrators and Moderators
there is a link to see the new posts. but this give only new posts posted today. if i want to see the yesterdays post or all the posts in the posted order(new posts first and so on).. wat should i do?.. (1 Reply)
Discussion started by: sekar sundaram
1 Replies
LEARN ABOUT HPUX
pw_getvmax
postwait(2) System Calls Manual postwait(2)
NAME
postwait: pw_getukid(), pw_wait(), pw_post(), pw_postv(), pw_getvmax() - lightweight synchronization mechanism
SYNOPSIS
DESCRIPTION
Postwait is a fast, lightweight sleep/wakeup mechanism that can be used for synchronization by cooperating kernel threads within a single
process or between separate processes.
A thread calls to block. It resumes execution when it is posted by another thread, the call expires, or is signaled. If one or more posts
are already pending, returns immediately.
Threads using postwait are identified by their ukid. A thread retrieves its ukid by calling It shares this ukid with anyone it chooses by
any means it considers appropriate (for example, shared memory).
is called with a timeout ts. If ts is NULL, the thread will not timeout. It will remain blocked until posted or a signal wakes it up.
If ts points to a zero-valued timespec, will return immediately with a value (and indicating whether or not it was posted.
If ts points to a timespec whose value is greater than zero, the thread will block for that amount of time unless it is posted or inter-
rupted by a signal, in which case the timespec pointed to by ts is updated with the remaining time. The return value and are set to indi-
cate the reason the call returned.
is used to post many threads with a single call. It posts to all threads in the targets array. An value for each target is returned in
the errors array. (0 indicates success.) If the errors pointer is zero, no target-specific errors are copied out.
There is a maximum number of threads that can be posted with a single call. This value is returned by
Posts sent to a kernel thread that already has a post pending against it are discarded.
RETURN VALUE
returns 0 if it succeeds, -1 otherwise.
returns 0 if posted, -1 otherwise.
returns 0 if the post succeeds, -1 otherwise.
returns 0 if every post succeeds, -1 otherwise.
returns the maximum number of kernel threads that can be posted with a single call to
ERRORS
sets to one of the following values if it fails:
ukid points to an illegal address. The reliable detection of this error is implementation dependent.
sets to one of the following values if it fails:
was called with a timeout of 0 but the caller has no post(s) pending.
was called with a timeout that expired.
ts points to an illegal address. The reliable detection of this error is implementation dependent.
was interrupted
by a signal.
The timespec pointed to by ts is invalid.
sets to one of the following values if it fails:
The ukid refers to a non-existent kernel thread.
sets to one of the following values if it fails:
targets points to an illegal address. The reliable detection of this error is implementation dependent.
errors points to an illegal address. The reliable detection of this error is implementation dependent.
count is less than 0.
count exceeds the maximum value (as returned by
A ukid refers to a non-existent kernel thread.
postwait(2)