04-06-2005
9 More Discussions You Might Find Interesting
1. 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
2. Post Here to Contact Site Administrators and Moderators
I've made the thread title as descriptive as possible since I don't know if the admins can open it.
Well sure, now I can open THIS one. I'm getting it on any other thread I try in What's On Your Mind and High Level Programming.
Okay, it's decided to make a liar of me now. It seems to be... (2 Replies)
Discussion started by: Corona688
2 Replies
3. 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
4. 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
5. Solaris
Hi,
I have 2 solaris server. I can able to open to see cron entry by using crontab -l in one of the server. I cant able to open another server. How to check if crontab is fixed in that server. If not then how to make a crontab in that server.
Please advice.
Thanks,
Mani
----------... (1 Reply)
Discussion started by: Mani_apr08
1 Replies
6. Ubuntu
Hello friends. I am currently using Ubuntu 9.10. Its having a lot of features. I have a problem in this operating system that is unable to open Gtalk. Could i get the information to use Gtalk in Ubuntu 9.10. Please reply me. (1 Reply)
Discussion started by: andrepitt77
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
Dear colleagues,
this post doesn't open; error message:
Anything we / I can do?
Rgds
Rüdiger (0 Replies)
Discussion started by: RudiC
0 Replies
LEARN ABOUT SUNOS
pthread_setschedprio
pthread_setschedprio(3C) pthread_setschedprio(3C)
NAME
pthread_setschedprio - dynamic thread scheduling parameters access
SYNOPSIS
cc -mt [ flag... ] file... -lpthread [ library... ]
#include <pthread.h>
int pthread_setschedprio(pthread_t thread, int prio);
The pthread_setschedprio() function sets the scheduling priority for the thread whose thread ID is given by thread to the value given by
prio.
If the pthread_setschedprio() function fails, the scheduling priority of the target thread is not changed.
If successful, the pthread_setschedprio() function returns 0; otherwise, an error number is returned to indicate the error.
The pthread_setschedprio() function will fail if:
EINVAL The value of prio is invalid for the scheduling policy of the specified thread.
ENOTSUP An attempt was made to set the priority to an unsupported value.
EPERM The caller does not have the appropriate permission to set the scheduling policy of the specified thread.
The system does not allow the application to modify the priority to the value specified.
ESRCH The value specified by thread does not refer to an existing thread.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
pthread_getschedparam(3C), attributes(5)
23 Mar 2005 pthread_setschedprio(3C)