Questions tagged [threadgroup]
121 questions
24
votes
1 answer
Meaning of PID, PPID and TGID
What does the Linux kernel acronyms PID, PPID, TGID stand for?
I stumbled upon them at strace-pids.

Nordlöw
- 11,838
- 10
- 52
- 99
13
votes
2 answers
Threads and Thread Groups on the GPU
I'm wondering about the "grids" of threads/thread groups I can dispatch on the GPU. I'm using Direct Compute so I'll give a concrete example using that API. For example, if I call Dispatch(2,2,2), I understand it dispatches 2x2x2 = 8 thread groups…

l3utterfly
- 2,106
- 4
- 32
- 58
8
votes
4 answers
What is the meaning of "Thread Group" in JMeter?
I don't clearly understand what is the meaning of a "Thread group" in JMeter. Does that means all the tests (Java requests etc) belong to a certain thread group run in a one thread or each test in that thread group runs in a separate thread? I…

Manjula
- 4,961
- 3
- 28
- 41
7
votes
1 answer
ThreadGroup in Java
I am currently learning basics of Threads in Java and I am trying to write a simple Thread Group program. I wrote it same as tutorial website though i'm getting different type of output. Below is my code for which i'm getting different output. …

Jaimin Patel
- 4,559
- 3
- 32
- 35
7
votes
1 answer
boost::threads example and heap corruption message
I'm quite new to boost::threads, I read the documentation and but i'm having some trouble applying it in practice, perhaps you can help? First of all, I have taken the time to write a self contained code listing that demonstrates 2 types of behavior…

AlexS
- 510
- 2
- 7
- 23
6
votes
1 answer
If Controller of jMeter throws StackOverflowError
I am using jMeter to load my system.
I have two Thread Groups. The first one should inject about 1M events, while the second one mimic requests to UI.
I need the second thread group to continue sending request to the UI, until the first one finishes…

Guy Hudara
- 247
- 4
- 13
5
votes
1 answer
Run a jmeter thread group every 5 minutes
My jmeter test plan has a thread group that has a csv config and 2 HTTP requests
I want to be able to run the thread group every 5 minutes so it performs a csv config and 2 HTTP requests every 5 minutes
Google search hasn't gave me much info
Thanks…

Barry F
- 71
- 1
- 4
5
votes
2 answers
JMeter - Share Session Between Thread Groups
I'm fairly new to JMeter; I have been searching for a way to share a session id between HTTP Requests within concurrently executing Thread Groups. I checked over the other questions, but they don't seem to deal with sessions, and I already…

Jiman
- 185
- 2
- 13
4
votes
1 answer
Join a group of threads with overall timeout
Is there a way to join a group of threads simultaneously with an overall timeout?
Suppose we have Collection threads; and int timeout;. If I didn't care about the timeout, I would do
for (Thread t : threads)
t.join();
but I want to wait…

Anakhand
- 2,838
- 1
- 22
- 50
4
votes
3 answers
What is a daemon thread group in JAVA?
I know that a thread can be daemon or non-daemon. We can use isDaemon() method to check if thread is daemon or not. isDaemon() method also works on thread groups.
class MyThread extends Thread
{
MyThread(ThreadGroup g, String name)
{
…

my name is GYAN
- 1,269
- 13
- 27
3
votes
2 answers
JMeter Scripts - Stop All Thread Groups (Entire Test) based on a condition
I have a JMeter script with multiple thread groups which are running concurrently. In one thread group PostProcessor, I would like to check for a condition and stop ALL thread groups, and exit. Basically, I want to stop the entire test.
if…

Keet Sugathadasa
- 11,595
- 6
- 65
- 80
3
votes
2 answers
every time creating new thread is being added to main ThreadGroup
I am creating many surface view instances to view some objects but one instance is created at a time and then surfaceDestroyed is called. but the thread I am creating every time on surfacecreated is being added to main ThreadGroup.
Although I am…

AZ_
- 21,688
- 25
- 143
- 191
3
votes
1 answer
Metal compute shaders threadgroup & threadExecutionWidth
Can someone explain in simple terms what threadgroup conceptually is in Metal compute shaders and other terms such as SIMD group, threadExecutionWidth (wavefront)? I read the docs but am more confused. For instance, if I have a 1024x1024 image, how…

Deepak Sharma
- 5,577
- 7
- 55
- 131
3
votes
1 answer
How to set UncaughtExceptionHandler for a thread group
Suppose I have 5 threads belonging to a thread group named "Fruits-group".
How can I assign UncaughtExceptionHandler to all threads of Fruits-group at one go?
I know we can define a global UncaughtExceptionHandler for all threads.
What I am looking…

Prakash P
- 3,582
- 4
- 38
- 66
2
votes
1 answer
How to block a group of threads in Java
I have a task in which I have to read data using different threads.
The problem is that due to the limitation of read rates, I built different threads with thread groups.
Now can any one tell me how to sleep one entire thread group so that it begins…

ADARSH
- 31
- 5