Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators Not getting any option to post a Forum Post 302483659 by varunksharma87 on Tuesday 28th of December 2010 03:18:58 AM
Old 12-28-2010
Thanks...
 

7 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

How do I post UNIX questions in the forum

I guess this is the way I post questions then. (1 Reply)
Discussion started by: kwokang
1 Replies

2. Post Here to Contact Site Administrators and Moderators

forum to post availability for work?

Hello. Is there a forum to post my availability for work? (1 Reply)
Discussion started by: douglaskbell
1 Replies

3. What is on Your Mind?

Anonymous Post Option

There is an option now to post anonymously in this forum. Note the Make Post Anonymously check box option when you post in this forum. https://www.unix.com/members/neo-albums-forum-pics-picture314-anonymous-posting-option.png (1 Reply)
Discussion started by: Neo
1 Replies

4. Post Here to Contact Site Administrators and Moderators

Do I post to Homework forum if learning on own

Quick question, I'm learning shell scripting on my own from resources like the 'Teach Yourself' books, web sites, etc. If I have any questions about these materials, do I still need to post them to the homework section? The template asks specific things like school associated with or... (7 Replies)
Discussion started by: Chasman78
7 Replies

5. UNIX for Dummies Questions & Answers

This forum is closed for new thread ... post here.

This forum is closed for new threads. Please post in this forum: UNIX for Beginners Questions & Answers (0 Replies)
Discussion started by: Neo
0 Replies

6. Post Here to Contact Site Administrators and Moderators

Can you suggest a better forum to post?

Hello! I posted twice on issues I'm having getting the latest GCC compiler to compile ( "Command failed for target 'check-recursive' error" in the Solaris forum and "Compiling GCC 6.3.0 - Error with Library" in the UNIX for Beginners... forum) with zero responses. After many hours of beating my... (0 Replies)
Discussion started by: PJ_Namias
0 Replies

7. What is on Your Mind?

Inserting Attached Files into a Forum Post

OFF_TOPIC Hey ozsavran, Thanks for the great post and photo attachments. Do you mind to explain to me what steps you took to upload and attach those files? I cannot do it and want to attach files like you did. Thanks! (2 Replies)
Discussion started by: Neo
2 Replies
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)
All times are GMT -4. The time now is 06:08 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy