On Thu, 29 Aug 2019 10:12:39 +0200 Pierre Couderc <pie...@couderc.eu> said:

> I have an efl application which starts some pthreads, each one starting 
> a shell (with ecore_exe_run) :
> 
> terminology -e vim xxxxx
> 
> I see these processes in htop, and I see that each terminology thread 
> "uses" a "full" core and  100%CPU (sometimes 96%...).
> 
> Nobody is typing in vim....
> 
> Why do they use 100%CPU ? Is it true or is it an error of htop...?

threads may be doing different things depending on the thread. efl starts a
bunch of threads (3 or 4 at least) generally speaking. one may be the vsync
event thread which does very little except tries to exactly wake up when either
a vsync event comes in from the drm/drm/kms driver core or use a clock based
timer instead if that doesn't work. one could be evas's slave thread it wakes
up for software rendering. one could be a special software scaler thread for
scaling image data for the software engine.... one the main loop.

now something shouldn't be using 100% cpu. that doesn't sound right. i don't
see this here so... something special in your environment is different causing
this to happen... what is it? where is it consuming the cpu? why?

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com



_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to