11-19-2008
unable to post thread
Hello,
I'd like to post a aix thread but I'm unable to.
Please let me know why this is happening.
Thanks....
This User Gave Thanks to sullivjp For This Post:
9 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
I am unable to open the mimesender thread. I get the following message when clicking on https://www.unix.com/showthread.php?p=33233#post33233 : (2 Replies)
Discussion started by: dangral
2 Replies
2. Forum Support Area for Unregistered Users & Account Problems
I can not Post a Thread. (1 Reply)
Discussion started by: spiderman3k
1 Replies
3. Post Here to Contact Site Administrators and Moderators
Can you tell me how to post a new thread?
Please help me ASAP.
Thanks,
Dipakg (2 Replies)
Discussion started by: dipakg
2 Replies
4. Programming
I try to initial a UDP client from threading, but it doesn't work? why?
These codes from the textbook
#define ECHOMAX 255 /* Longest string to echo */
#define TIMEOUT_SECS 2 /* Seconds between retransmits */
#define MAXTRIES 5 /* Tries before giving up */... (3 Replies)
Discussion started by: sehang
3 Replies
5. Programming
In my program, threads may be created when some events trigger. So I can't create threads on initialization.
Theremore,I write a createThread() function to create thread. However, it is blocking at first call and don't run anymore? why?
#include <pthread.h>
#include <stdio.h>
#include... (4 Replies)
Discussion started by: sehang
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. 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.
for example I tried to post
... (3 Replies)
Discussion started by: Unregistered
3 Replies
8. Forum Support Area for Unregistered Users & Account Problems
Hi.
I registered, but when trying to post, I get ...
"Sorry, you do not have enough Bits to post a new thread"
Google & Forum search showed some hits, but no solution.
Please advide.
Thanks! (1 Reply)
Discussion started by: gehe
1 Replies
9. Post Here to Contact Site Administrators and Moderators
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
LEARN ABOUT OSF1
tis_setcancelstate
tis_setcancelstate(3) Library Functions Manual tis_setcancelstate(3)
NAME
tis_setcancelstate - Changes the calling thread's cancelability state.
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <tis.h>
int tis_setcancelstate(
int state,
int *oldstate);
STANDARDS
None
PARAMETERS
State of general cancelability to set for the calling thread. Valid state values are as follows: PTHREAD_CANCEL_ENABLE PTHREAD_CANCEL_DIS-
ABLE Receives the value of the calling thread's previous cancelability state.
DESCRIPTION
This routine sets the calling thread's cancelability state to the value specified in the state argument and returns the calling thread's
previous cancelability state in the location referenced by the oldstate argument.
When a thread's cancelability state is set to PTHREAD_CANCEL_DISABLE, a cancelation request cannot be delivered to the thread, even if a
cancelable routine is called or asynchronous cancelability is enabled.
When a thread is created, its default cancelability state is PTHREAD_CANCEL_ENABLE. When this routine is called prior to loading threads,
the cancelability state propagates to the initial thread in the executing program.
Possible Problems When Disabling Cancelability
The most important use of a cancelation request is to ensure that indefinite wait operations are terminated. For example, a thread waiting
on some network connection, which might take days to respond (or might never respond), should be made cancelable.
When a thread's cancelability state is disabled, no routine called within that thread is cancelable. As a result, the user is unable to
cancel the operation. When disabling cancelability, be sure that no long waits can occur or that it is necessary for other reasons to
defer cancelation requests around that particular region of code.
RETURN VALUES
On successful completion, this routine returns the calling thread's previous cancelability state in the oldstate argument.
If an error condition occurs, this routine returns an integer value indicating the type of error. Possible return values are as follows:
Successful completion. The specified state is not PTHREAD_CANCEL_ENABLE or PTHREAD_CANCEL_DISABLE.
ERRORS
None
RELATED INFORMATION
Functions: tis_testcancel(3)
Manuals: Guide to DECthreads and Programmer's Guide
delim off
tis_setcancelstate(3)