- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to observe my threads. An some extrange this ocurrs.
I do a task_scheduler_init with 8 threads.
I have a task_scheduler_observer class where the entry methods prints the ID of each treads.
then, I spawns some task and I start the executing spawnning or recycling different tasks.
When the first task is spawned the threads go to the entry methods a print its ID. However in the middle of the execution (the execution lates several minutes) a new threads (the 9th threads) go to the entry methods.
It coul be like a new threads. However, in the system (using command "top") I can see always eight threads. I think one threads dies or somethin similar and a new threads is created. However, no thread go to exit method of the task_scheduler_observer...
Any Idea???
I would like to control all the threads because I want to use PAPI to measure some counters.
Thank you.
I am trying to observe my threads. An some extrange this ocurrs.
I do a task_scheduler_init with 8 threads.
I have a task_scheduler_observer class where the entry methods prints the ID of each treads.
then, I spawns some task and I start the executing spawnning or recycling different tasks.
When the first task is spawned the threads go to the entry methods a print its ID. However in the middle of the execution (the execution lates several minutes) a new threads (the 9th threads) go to the entry methods.
It coul be like a new threads. However, in the system (using command "top") I can see always eight threads. I think one threads dies or somethin similar and a new threads is created. However, no thread go to exit method of the task_scheduler_observer...
Any Idea???
I would like to control all the threads because I want to use PAPI to measure some counters.
Thank you.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
please try limitting scope of your task_scheduler_init instance and wait some time after it is destroyed to receive delayed exit notifications

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page