Thread « Development « C Data Type Q&A

Home
C Data Type Q&A
1.binary
2.bit
3.byte
4.char
5.character
6.decimal
7.Development
8.float
9.hex
10.integer
11.prime
12.random
13.struct
C Data Type Q&A » Development » Thread 

1. how to use omp barrier on a while loop with no equal number of iterations for threads    stackoverflow.com

I'm trying to implement the listranking problem (known also by shortcutting) with omp to have the sums prefixes of the array W. I don't know if i use correctly the flush pragma.. And ...

2. Number of threads and thread numbers in Grand Central Dispatch    stackoverflow.com

I am using C and Grand Central Dispatch to parallelize some heavy computations. How can I get the number of threads used by GCD? Also is it possible to know on ...

3. program to print odd numbers and even numbers on seperate threads    stackoverflow.com

I am learning programming using pthreads. How can I write a program to print odd numbers and even numbers on separate threads.

4. pthreads : allowed number of threads    stackoverflow.com

I have been working now for few days on a small C program which uses pthreads. I spent more or less all yesterday looking for a deadlock bug, but now I ...

5. Maximum number of threads    stackoverflow.com

I have a program which accepts 2 N-digit numbers, multiplies them using threads & prints the output. The number of threads created here are 2 * N - 1. whenever I run the ...

6. Relation between number of blocks of threads and cuda cores on machine (in CUDA C)    stackoverflow.com

I have CUDA 2.1 installed on my machine and it has a graphic card with 64 cuda cores. I have written a program in which I initialize simultaneously 30000 blocks (and 1 ...

7. Maximum number of Solaris threads    stackoverflow.com

How is this determined - is it by the number of threads defined or the amount of memory and where can it be changed? I read somewhere each thread is allocated ...

8. How do I count the number of running threads (pthreads)?    stackoverflow.com

If I search for counting the number of threads an application has, all the answers involve external programs like top. I want to count the threads within the application itself. I can't ...

9. How to decide ideal number of threads ?    codeproject.com

There is no easy correct answer to the question. It really depends on if/whether your threads are ever going to be waiting for i/o (disk access, network, etc.) and how long those waits will be versus the cost of switching threads. If your processor core is only ever going to be waiting on data from RAM, then ...

10. In C# can I specify a preferred core number for a thread to be executed?    codeproject.com

I'm not downvoting you, but: BeginThreadAffinity/EndThreadAffinity (on regular .Net) usually improves the performance computationally intensive threads - so if the computer is dedicated to the execution of some parallelized heavy calculation, it makes sense to do this. Appearantly that automagic doesn't work as well as one would have liked, because I've experienced more than 20% improvement in execution time, something that ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.