Sponsored Content
Full Discussion: Long threads?
Contact Us Post Here to Contact Site Administrators and Moderators Long threads? Post 64074 by Perderabo on Saturday 26th of February 2005 04:20:04 PM
Old 02-26-2005
As I watched that thread unfold, I was very impressed with your patience. I would have bailed out a long time ago. I'm also impressed with your knowledge.

Taking this thread to PM would violate the spirit of rule number 10. We may need to amend rule 10 to make that more explicit now that we have PM enabled. On the other hand, if the thread degenerated into chit-chat, continuing the thread would violate rule 3. As long as it's technical, the thread is the way to go. And I trust your judgement to know the difference.

We have longer threads. And many threads seem targeted to the original poster. I don't see any harm in either quality in a thread.

So my opinion: great work!
 

9 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

old threads

Neo, if I have an old thread that is a few months old, and a few pages back in the forum it was posted in, is it ok to 'bump' it back to the front? or, would you rather i deleted the old thread, and just create a new one? btw the thread has no replies. (2 Replies)
Discussion started by: norsk hedensk
2 Replies

2. UNIX for Dummies Questions & Answers

threads

i am tring to sort lots of data thats in many columns by just one column but, if I use sort +16 inputfile the column fluctuates because some of the rows have spaces etc within the text, so the end result is just a mess as it jumps around the columns depending whether it has spaces or not ....ie... (2 Replies)
Discussion started by: Gerry405
2 Replies

3. Solaris

threads

Hi all! 1)Is there a way to write a program that will work on both solaris and intel based machines. 2)How can I achive this for a program that creates and synchronizes three threads. Thank you. vij. (3 Replies)
Discussion started by: vijlak
3 Replies

4. UNIX for Advanced & Expert Users

How many threads do I use ?

Hi, I have a program that has two types of threads: 1) Reader threads 2) Worker Threads Readers: Their only job is to read files. They just read data from the files and put them into a buffer. They are obviously I/O intensive. Workers: These are CPU intensive. They do some computation... (5 Replies)
Discussion started by: the_learner
5 Replies

5. UNIX for Advanced & Expert Users

Threads and Threads Count ?

Hi all, How can I get the list of all Threads and the Total count of threads under a particular process ? Do suggest !! Awaiting for the replies !! Thanks Varun:b: (2 Replies)
Discussion started by: varungupta
2 Replies

6. Programming

Threads help

Hello! I started studying studying about POSIX Threads a few days ago... so I am a little confused and I would appreciate some help! I isolated this code... and I wonder if I could use threads in it! #include <unistd.h> #endif #include <math.h> //#include "main.h" #include <sys/time.h>... (1 Reply)
Discussion started by: smurf2
1 Replies

7. Programming

How to see a FIFO from all the threads?

Hello C programming fellows!!! I'm doing a program with multiple threads in gnu/linux, ubuntu for beeing precise... This program consist in multiple threads, as logical each thread do different things and communicate to each other using IPC. The problem is that in "process 1" I have a... (1 Reply)
Discussion started by: Sandia_man
1 Replies

8. Post Here to Contact Site Administrators and Moderators

Threads disappeared

Dear admins, it seems that some threads or even users have recently (~ 2 days or so) disappeared. Examples: giuliangiuseppe and greycells. The latter asked me for the solution I provided earlier this week. What happened? Can you help? Regards Rüdiger (10 Replies)
Discussion started by: RudiC
10 Replies

9. Post Here to Contact Site Administrators and Moderators

Please close the following threads:)

Hello Admin, The issue that i posted in the following threads has been resolved, https://www.unix.com/ubuntu/266128-how-access-website-without-port-ubuntu-14-04-a.html https://www.unix.com/red-hat/265635-error-while-extending-logicalvolume.html Kindly close the threads.Thanks:) (1 Reply)
Discussion started by: gull05
1 Replies
pthread_launch_policy_np(3T)											      pthread_launch_policy_np(3T)

NAME
pthread_launch_policy_np() - setting thread launch policies SYNOPSIS
PARAMETERS
request This parameter determines the precise action to be taken by these functions. answer This parameter is an output parameter in which values are returned. The meaning of answer depends on request parameter. tid This parameter gives the value of the thread id for certain requests. DESCRIPTION
Each process shall have a launch policy. Each thread shall have a launch policy. The launch policy for a thread does not have to match the launch policy for the process. The launch policy determines the locality domain where the newly created process or thread will be launched in a ccNUMA system. The locality domains covered by a process's or thread's processor set are the available locality domains. The function sets a thread launch policy for a specific thread. The thread specified by tid is the target thread whose launch policy is changed. The value can be used to refer to the calling thread. is currently not supported for threads. If is used on a thread, it is silently ignored and zero is returned for successful completion. When a process creates another process (via or the child process will inherit the parent process's launch policy. The initial thread in the child process will inherit the launch policy of the creating thread (and not that of its process). Other threads in a multi-threaded process inherit their launch policy from the creating thread. For all launch policies, the target thread is bound to the locality domain on which it was launched. The target is allowed to execute on any processor within that locality domain. When setting a launch policy, if the target already has processor or locality domain binding, the existing binding will not be overwritten. Instead the locality domain in which the target is bound (whether locality domain binding or processor binding) will be used as the start- ing locality domain for implementing the launch policy. Refer to mpctl(2) man page for further details on launch policies. Note: locality domains are tightly tied to the physical components of the underlying system. As a result, the performance observed when using launch policies based on locality domains may vary from system to system. For example, a system which contains 4 locality domains, each containing 32 processors, may exhibit different performance behaviors from a system that contains 32 locality domains with 4 proces- sors per domain. The launch policy that provides optimal performance on one system may not provide optimal performance on a different sys- tem for the same application. The request parameter specifies the action to take and may be one of the following: The current launch policy of the target thread is returned in the answer parameter. This request currently returns or to indicate the current launch policy of the thread specified by tid. Other launch policies may be added in future releases and returned via this option. Applications using this option should be written to handle other return values in order to continue working on future releases. This request establishes a round robin launch policy for the specified thread. The successive child threads of the specified thread will be launched on different locality domains in a round robin manner until all available locality domains have been used by threads in the launch tree. At that point, the selection of locality domains begins again from the original locality domain. The answer parameter is ignored. This request establishes a fill first launch policy for the specified thread. The successive child threads of the specified thread will be launched on the same locality domain as their parent thread until one thread has been created for each available processor in the domain. At that point, a new locality domain is selected and successive threads are launched there until there is one thread per processor. All available locality domains will be used before the original domain is selected again. The answer parameter is ignored. This request establishes a packed launch policy for the specified thread. The successive child threads are launched on the same locality domain as their parent thread. The answer parameter is ignored. This request establishes a least loaded launch policy for the specified thread. The successive child threads are launched on the least loaded locality domain in the processor set regardless of the location of their parent thread. The answer parameter is ignored. This request establishes a tree based round robin launch policy for the specified thread. This request differs from in which threads become part of the launch tree. This launch policy includes all descendents of the target thread in the launch tree. The answer parameter is ignored. This request establishes a tree based fill first launch policy for the specified thread. This request differs from in which threads become part of the launch tree. This launch policy includes all descendents of the target thread in the launch tree. The answer parameter is ignored. This request unsets any launch policy in the thread. The system will employ a default, optimal policy in determining where the newly created thread will be launched. The existing binding of the thread is not changed. The answer parameter is ignored. RETURN VALUE
Upon successful completion, returns zero. Otherwise, an error number is returned to indicate the error (the variable is not set). ERRORS
If any of the following occur, the function returns the corresponding error number: [EINVAL] The request parameter contains an illegal value. [EINVAL] The value specified by answer is illegal. [ESRCH] No thread could be found in the current process that matches the thread ID specified in tid. WARNINGS
is currently not supported for threads. If is used on a thread, it is silently ignored and zero is returned for successful completion. If the request parameter is answer is set to For all other request values, answer parameter is ignored. Applications dependent on the complete implementation of should use threads. AUTHOR
was developed by HP. SEE ALSO
mpctl(2), sleep(3C), rtsched(2). STANDARDS CONFORMANCE
Pthread Library pthread_launch_policy_np(3T)
All times are GMT -4. The time now is 08:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy