Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Lyosha12

Pages: [1]
1
System / Re: SFML already use 4 threads (include main)?
« on: July 27, 2020, 08:54:55 pm »
He-he. I had inserted that one code into my main of fractal and I had 12 threads. How I can test that are these threads are not consuming CPU? There is some tool? I use CLion and his internal debugger, I can't set breakpoints into disassembler's code of those threads

2
System / Re: SFML already use 4 threads (include main)?
« on: July 27, 2020, 08:21:19 pm »
It's funny. I have made sample program and I have 10 threads. Why so?

(click to show/hide)
(click to show/hide)
(click to show/hide)

3
System / Re: SFML already use 4 threads (include main)?
« on: July 27, 2020, 07:57:17 pm »
I'm not using audio-module. If I even remove sfml-audio from my CMake script these threads aren't gone.
(click to show/hide)

I want to calc Mandelbrot fractal via pass a pixel row to a separate thread and I'm need to use all of available threads. I know that in my system about 2000 thread and I know that they are not be able to active in one moment.

I assume that only my program witch now is active will take mostly place in my cores. So I need use all of them. But I don't know are this 3 threads is active and if not I want to remove them from my program but don't know how. Please hint me about it

4
System / SFML already use 4 threads (include main)?
« on: July 27, 2020, 06:35:01 pm »
My debugger shows to me that I have already 4 threads:
(click to show/hide)

If I create two more threads thereat I have 6 threads already:
(click to show/hide)
Does it mean that I be able to create only
std::thread::hardware_concurrency() - 4
threads?
May I disable threads which I don't know for what? 

5
Thanks, it works. Now I understood and will refers to this topic in my comments :)

6
While I has been generate an texture I noticed to strange implementation:
the coordinate system has been moved on one pixel to right.
It is from here I can draw and see what I draw. Why?
I don't understand, explain me this aspect, please.

(click to show/hide)
(click to show/hide)

Pages: [1]
anything